From 15e1812af2e17301a6533f3641d3a590fc3dae68 Mon Sep 17 00:00:00 2001 From: graphemecluster Date: Sun, 2 Jun 2024 13:53:43 +0800 Subject: [PATCH] Output Canonically-Cased Config Option Values --- src/compiler/commandLineParser.ts | 310 +++++++++--------- src/compiler/core.ts | 129 +++++++- src/compiler/utilities.ts | 3 +- ...s => callChainWithSuper(target=es2015).js} | 0 .../errors on missing argument.js | 2 +- .../Parse --lib option with extra comma.js | 2 +- ... --lib option with trailing white-space.js | 2 +- .../Parse empty options of --module.js | 2 +- ...rse empty options of --moduleResolution.js | 2 +- .../Parse empty options of --target.js | 2 +- .../Parse invalid option of library flags.js | 2 +- ...n missing argument to --fallbackPolling.js | 2 +- ...array to compiler-options with json api.js | 2 +- ...ompiler-options with jsonSourceFile api.js | 2 +- ... libs to compiler-options with json api.js | 2 +- ...ompiler-options with jsonSourceFile api.js | 2 +- ... libs to compiler-options with json api.js | 2 +- ...ompiler-options with jsonSourceFile api.js | 2 +- ...odule to compiler-options with json api.js | 2 +- ...ompiler-options with jsonSourceFile api.js | 2 +- ...ution to compiler-options with json api.js | 2 +- ...ompiler-options with jsonSourceFile api.js | 2 +- ...arget to compiler-options with json api.js | 2 +- ...ompiler-options with jsonSourceFile api.js | 2 +- ... libs to compiler-options with json api.js | 2 +- ...ompiler-options with jsonSourceFile api.js | 2 +- ...invalid strings with jsonSourceFile api.js | 2 +- .../tsconfig.json | 6 +- .../tsconfig.json | 6 +- .../tsconfig.json | 6 +- .../tsconfig.json | 6 +- .../tsconfig.json | 6 +- .../tsconfig.json | 6 +- .../tsconfig.json | 6 +- .../tsconfig.json | 8 +- .../tsconfig.json | 6 +- .../tsconfig.json | 8 +- .../tsconfig.json | 6 +- .../tsconfig.json | 4 +- .../tsconfig.json | 2 +- .../tsconfig.json | 4 +- .../tsconfig.json | 4 +- .../tsconfig.json | 6 +- .../tsconfig.json | 2 +- .../fallbackPolling/tsconfig.json | 2 +- .../module/tsconfig.json | 4 +- .../moduleResolution/tsconfig.json | 2 +- .../target/tsconfig.json | 2 +- .../watchDirectory/tsconfig.json | 2 +- .../watchFile/tsconfig.json | 2 +- ...persWithLocalCollisions(module=es2015).js} | 0 .../reused-program-keeps-errors.js | 4 +- ...acketInCharClass(target=es2015).errors.txt | 4 +- ...nBracketInCharClass(target=es5).errors.txt | 8 +- ...pressionScanning(target=es2015).errors.txt | 68 ++-- ...rExpressionScanning(target=es5).errors.txt | 96 +++--- ...pertyValueExpressionSuggestions.errors.txt | 4 +- ...ons module-kind is out-of-range.errors.txt | 4 +- ...nd is out-of-range.oldTranspile.errors.txt | 4 +- ...s target-script is out-of-range.errors.txt | 4 +- ...pt is out-of-range.oldTranspile.errors.txt | 4 +- .../modules-and-globals-mixed-in-amd.js | 28 +- .../prepend-reports-deprecation-error.js | 20 +- ...e-resolution-finds-original-source-file.js | 18 +- .../tsbuild/clean/tsx-with-dts-emit.js | 2 +- .../different-options-discrepancies.js | 60 ++-- ...-options-with-incremental-discrepancies.js | 40 +-- ...-incremental-with-outFile-discrepancies.js | 40 +-- ...t-options-with-incremental-with-outFile.js | 112 +++---- .../different-options-with-incremental.js | 110 +++---- ...rent-options-with-outFile-discrepancies.js | 60 ++-- .../different-options-with-outFile.js | 82 ++--- .../tsbuild/commandLine/different-options.js | 80 ++--- ...Only-false-on-commandline-discrepancies.js | 44 +-- ...claration-and-incremental-discrepancies.js | 44 +-- ...-incremental-with-outFile-discrepancies.js | 20 +- ...eclaration-and-incremental-with-outFile.js | 44 +-- ...ndline-with-declaration-and-incremental.js | 64 ++-- ...mmandline-with-declaration-with-outFile.js | 4 +- ...-commandline-with-outFile-discrepancies.js | 40 +-- ...nOnly-false-on-commandline-with-outFile.js | 64 ++-- ...mitDeclarationOnly-false-on-commandline.js | 64 ++-- ...rationOnly-on-commandline-discrepancies.js | 68 ++-- ...claration-and-incremental-discrepancies.js | 68 ++-- ...-incremental-with-outFile-discrepancies.js | 20 +- ...eclaration-and-incremental-with-outFile.js | 84 ++--- ...ndline-with-declaration-and-incremental.js | 140 ++++---- ...mmandline-with-declaration-with-outFile.js | 4 +- ...-commandline-with-outFile-discrepancies.js | 60 ++-- ...arationOnly-on-commandline-with-outFile.js | 134 ++++---- .../emitDeclarationOnly-on-commandline.js | 140 ++++---- ...tax-errors-in-config-file-discrepancies.js | 12 +- ...ntax-errors-in-config-file-with-outFile.js | 6 +- .../reports-syntax-errors-in-config-file.js | 18 +- ...nce-and-both-extend-config-with-include.js | 12 +- ...th-projects-extends-config-with-include.js | 12 +- ...ter-initial-build-doesnt-build-anything.js | 12 +- .../when-solution-is-referenced-indirectly.js | 26 +- ...eration-errors-outFile-with-incremental.js | 4 +- .../reports-dts-generation-errors-outFile.js | 4 +- ...-dts-generation-errors-with-incremental.js | 10 +- .../reports-dts-generation-errors.js | 4 +- ...ugh-triple-slash-but-uses-no-references.js | 10 +- ...file-is-referenced-through-triple-slash.js | 24 +- ...d-inferred-type-from-referenced-project.js | 10 +- ...s-not-in-rootDir-at-the-import-location.js | 10 +- ...ng-setup-correctly-and-reports-no-error.js | 24 +- ...-emitDeclarationOnly-and-declarationMap.js | 20 +- ...import-project-with-emitDeclarationOnly.js | 20 +- ...mports-project-with-emitDeclarationOnly.js | 24 +- ...es-is-empty-and-references-are-provided.js | 4 +- .../tsbuild/extends/configDir-template.js | 2 +- .../extends/resolves-the-symlink-path.js | 4 +- ...ted-file-with-outFile-without-composite.js | 4 +- .../deleted-file-without-composite.js | 2 +- .../detects-deleted-file-discrepancies.js | 8 +- .../detects-deleted-file-with-outFile.js | 22 +- .../fileDelete/detects-deleted-file.js | 22 +- ...-transitive-module-with-isolatedModules.js | 36 +- .../inferred-type-from-transitive-module.js | 36 +- ...hange-in-signature-with-isolatedModules.js | 60 ++-- ...based-projects-and-emits-them-correctly.js | 10 +- ...ved-json-files-and-emits-them-correctly.js | 16 +- ...s-merged-and-contains-late-bound-member.js | 24 +- .../with-config-with-redirection.js | 46 +-- .../tsbuild/libraryResolution/with-config.js | 46 +-- ...iffers-between-projects-for-shared-file.js | 4 +- ...project-correctly-with-preserveSymlinks.js | 6 +- ...-file-from-referenced-project-correctly.js | 6 +- ...ared-resolution-should-not-report-error.js | 10 +- ...t-resolution-options-referenced-project.js | 12 +- .../when-resolution-is-not-shared.js | 10 +- ...fiers-across-projects-resolve-correctly.js | 22 +- ...zed-module-specifiers-resolve-correctly.js | 18 +- .../semantic-errors-with-incremental.js | 12 +- .../syntax-errors-with-incremental.js | 12 +- ...c-errors-with-incremental-discrepancies.js | 16 +- .../semantic-errors-with-incremental.js | 8 +- ...x-errors-with-incremental-discrepancies.js | 16 +- .../noCheck/syntax-errors-with-incremental.js | 8 +- .../semantic-errors-with-incremental.js | 8 +- .../noEmit/syntax-errors-with-incremental.js | 8 +- ...tFile-with-declaration-with-incremental.js | 8 +- ...emantic-errors-outFile-with-incremental.js | 8 +- ...rrors-with-declaration-with-incremental.js | 16 +- .../semantic-errors-with-incremental.js | 16 +- ...tFile-with-declaration-with-incremental.js | 8 +- .../syntax-errors-outFile-with-incremental.js | 8 +- ...rrors-with-declaration-with-incremental.js | 16 +- .../syntax-errors-with-incremental.js | 16 +- .../outFile/baseline-sectioned-sourcemaps.js | 58 ++-- .../outFile/builds-till-project-specified.js | 6 +- .../tsbuild/outFile/clean-projects.js | 22 +- .../outFile/cleans-till-project-specified.js | 22 +- .../non-module-projects-without-prepend.js | 28 +- ...al-flag-changes-between-non-dts-changes.js | 38 +-- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 44 +-- ...erated-when-incremental-is-set-to-false.js | 14 +- ...-buildInfo-absence-results-in-new-build.js | 22 +- ...roject-is-not-composite-but-incremental.js | 22 +- ...t-composite-but-uses-project-references.js | 22 +- ...final-project-specifies-tsBuildInfoFile.js | 22 +- ...ot-change-but-its-modified-time-changes.js | 22 +- ...otDir-is-not-specified-and-is-composite.js | 4 +- ...iles-belong-to-rootDir-and-is-composite.js | 12 +- .../builds-correctly.js | 10 +- ...nfo-file-because-no-rootDir-in-the-base.js | 4 +- ...reports-error-for-same-tsbuildinfo-file.js | 4 +- ...eports-no-error-when-tsbuildinfo-differ.js | 10 +- .../build-with-custom-transformers.js | 8 +- ...iles-containing-json-file-non-composite.js | 2 +- .../files-containing-json-file.js | 6 +- ...ting-json-module-from-project-reference.js | 10 +- .../include-and-files-non-composite.js | 2 +- .../resolveJsonModule/include-and-files.js | 6 +- ...file-name-matches-ts-file-non-composite.js | 2 +- ...r-include-and-file-name-matches-ts-file.js | 6 +- ...-along-with-other-include-non-composite.js | 2 +- ...nclude-of-json-along-with-other-include.js | 6 +- .../include-only-non-composite.js | 2 +- ...-with-json-not-in-rootDir-non-composite.js | 2 +- .../include-only-with-json-not-in-rootDir.js | 6 +- ...t-outside-configDirectory-non-composite.js | 2 +- ...out-rootDir-but-outside-configDirectory.js | 6 +- ...clude-only-without-outDir-non-composite.js | 2 +- .../include-only-without-outDir.js | 6 +- .../tsbuild/resolveJsonModule/include-only.js | 6 +- .../sourcemap-non-composite.js | 2 +- .../tsbuild/resolveJsonModule/sourcemap.js | 6 +- .../without-outDir-non-composite.js | 2 +- .../resolveJsonModule/without-outDir.js | 6 +- ...nsecutive-and-non-consecutive-are-mixed.js | 42 +-- .../roots/when-files-are-not-consecutive.js | 14 +- ...hen-multiple-root-files-are-consecutive.js | 18 +- ...-referenced-project-and-shared-is-first.js | 62 ++-- ...en-root-file-is-from-referenced-project.js | 62 ++-- .../when-two-root-files-are-consecutive.js | 10 +- .../always-builds-under-with-force-option.js | 26 +- .../building-using-buildReferencedProject.js | 16 +- ...uilding-using-getNextInvalidatedProject.js | 26 +- ...rectly-when-declarationDir-is-specified.js | 26 +- ...ilds-correctly-when-outDir-is-specified.js | 26 +- .../sample1/builds-till-project-specified.js | 16 +- .../can-detect-when-and-what-to-rebuild.js | 42 +-- ...t-in-not-build-order-doesnt-throw-error.js | 26 +- .../sample1/cleans-till-project-specified.js | 26 +- ...ojects-if-upstream-projects-have-errors.js | 16 +- .../reference/tsbuild/sample1/explainFiles.js | 74 ++--- ...it-would-skip-builds-during-a-dry-build.js | 26 +- .../sample1/invalidates-projects-correctly.js | 52 +-- .../tsbuild/sample1/listEmittedFiles.js | 60 ++-- .../reference/tsbuild/sample1/listFiles.js | 60 ++-- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 52 +-- ...uilds-from-start-if-force-option-is-set.js | 26 +- ...uilds-when-extended-config-file-changes.js | 36 +- .../sample1/removes-all-files-it-built.js | 26 +- ...ror-if-input-file-is-missing-with-force.js | 6 +- .../reports-error-if-input-file-is-missing.js | 6 +- .../reference/tsbuild/sample1/sample.js | 78 ++--- .../tsbuild/sample1/tsbuildinfo-has-error.js | 4 +- .../when-declaration-option-changes.js | 16 +- .../sample1/when-declarationMap-changes.js | 42 +-- .../when-esModuleInterop-option-changes.js | 36 +- ...ot-change-but-its-modified-time-changes.js | 26 +- .../when-logic-specifies-tsBuildInfoFile.js | 26 +- .../sample1/when-module-option-changes.js | 16 +- .../sample1/when-target-option-changes.js | 20 +- ...roject-uses-different-module-resolution.js | 10 +- .../transitiveReferences/builds-correctly.js | 10 +- ...de-resolution-with-external-module-name.js | 8 +- ...ntax-errors-in-config-file-with-outFile.js | 6 +- .../reports-syntax-errors-in-config-file.js | 18 +- .../demo/updates-with-bad-reference.js | 20 +- .../demo/updates-with-circular-reference.js | 24 +- .../extends/configDir-template.js | 4 +- .../with-config-with-redirection.js | 46 +-- .../libraryResolution/with-config.js | 46 +-- ...for-changes-to-package-json-main-fields.js | 8 +- ...t-correctly-with-cts-and-mts-extensions.js | 12 +- ...se-different-module-resolution-settings.js | 28 +- ...n-no-files-are-emitted-with-incremental.js | 12 +- ...tFile-with-declaration-with-incremental.js | 16 +- ...files-on-error-outFile-with-incremental.js | 16 +- ...error-with-declaration-with-incremental.js | 32 +- ...mit-any-files-on-error-with-incremental.js | 32 +- .../creates-solution-in-watch-mode.js | 26 +- .../incremental-updates-in-verbose-mode.js | 52 +-- .../when-file-with-no-error-changes.js | 18 +- ...ing-errors-only-changed-file-is-emitted.js | 18 +- .../when-file-with-no-error-changes.js | 12 +- ...ixing-error-files-all-files-are-emitted.js | 12 +- .../when-preserveWatchOutput-is-not-used.js | 42 +-- ...veWatchOutput-is-passed-on-command-line.js | 42 +-- ...e-of-program-emit-with-outDir-specified.js | 18 +- ...r-recompilation-because-of-program-emit.js | 18 +- .../programUpdates/tsbuildinfo-has-error.js | 4 +- ...-references-watches-only-those-projects.js | 16 +- ...tches-config-files-that-are-not-present.js | 26 +- ...e-down-stream-project-and-then-fixes-it.js | 12 +- ...le-is-added,-and-its-subsequent-updates.js | 46 +-- ...hanges-and-reports-found-errors-message.js | 104 +++--- ...not-start-build-of-referencing-projects.js | 34 +- .../with-outFile-and-non-local-change.js | 24 +- ...le-is-added,-and-its-subsequent-updates.js | 46 +-- ...hanges-and-reports-found-errors-message.js | 104 +++--- ...not-start-build-of-referencing-projects.js | 34 +- ...project-with-extended-config-is-removed.js | 10 +- .../works-with-extended-source-files.js | 30 +- ...hen-there-are-23-projects-in-a-solution.js | 112 +++---- ...when-there-are-3-projects-in-a-solution.js | 20 +- ...when-there-are-5-projects-in-a-solution.js | 28 +- ...when-there-are-8-projects-in-a-solution.js | 48 +-- .../publicApi/with-custom-transformers.js | 12 +- .../reexport/Reports-errors-correctly.js | 18 +- ...-referenced-project-and-shared-is-first.js | 62 ++-- ...en-root-file-is-from-referenced-project.js | 62 ++-- .../when-emitting-buildInfo.js | 30 +- .../tsc/cancellationToken/when-using-state.js | 30 +- .../tsc/composite/converting-to-modules.js | 8 +- ...eration-errors-outFile-with-incremental.js | 6 +- .../reports-dts-generation-errors-outFile.js | 6 +- ...-dts-generation-errors-with-incremental.js | 12 +- .../reports-dts-generation-errors.js | 6 +- ...rough-indirect-symlink-moduleCaseChange.js | 2 +- ...ibling-package-through-indirect-symlink.js | 2 +- ...ther-symlinked-package-moduleCaseChange.js | 2 +- ...age-with-indirect-link-moduleCaseChange.js | 2 +- ...er-symlinked-package-with-indirect-link.js | 2 +- ...gh-source-and-another-symlinked-package.js | 2 +- ...ing-Windows-paths-and-uppercase-letters.js | 7 +- .../configDir-template-with-commandline.js | 2 +- .../tsc/extends/configDir-template.js | 2 +- .../tsc/extends/resolves-the-symlink-path.js | 4 +- ...m-multiple-places-with-different-casing.js | 2 +- ...ative-and-non-relative-file-resolutions.js | 2 +- .../with-type-ref-from-file.js | 2 +- ...ion-field-with-declaration-emit-enabled.js | 18 +- ...e-to-modifier-of-class-expression-field.js | 18 +- ...in-another-file-through-indirect-import.js | 20 +- ...s-global-through-export-in-another-file.js | 16 +- .../different-options-discrepancies.js | 60 ++-- ...-options-with-incremental-discrepancies.js | 40 +-- ...-incremental-with-outFile-discrepancies.js | 40 +-- ...t-options-with-incremental-with-outFile.js | 112 +++---- .../different-options-with-incremental.js | 110 +++---- ...rent-options-with-outFile-discrepancies.js | 60 ++-- .../different-options-with-outFile.js | 104 +++--- .../tsc/incremental/different-options.js | 100 +++--- .../generates-typerefs-correctly.js | 16 +- .../incremental/serializing-error-chains.js | 4 +- ...ault-lib-that-augments-the-global-scope.js | 4 +- .../tsc/incremental/tsbuildinfo-has-error.js | 4 +- .../tsc/incremental/when-file-is-deleted.js | 10 +- ...le-is-added,-the-signatures-are-updated.js | 58 ++-- ...to-the-referenced-project-discrepancies.js | 24 +- ...file-is-added-to-the-referenced-project.js | 28 +- ...g-filename-for-buildinfo-on-commandline.js | 8 +- .../when-passing-rootDir-from-commandline.js | 4 +- ...when-passing-rootDir-is-in-the-tsconfig.js | 4 +- ...sed-const-enums-with-preserveConstEnums.js | 40 +-- .../incremental/with-aliased-const-enums.js | 40 +-- ...ile-const-enums-with-preserveConstEnums.js | 50 +-- ...h-aliased-in-different-file-const-enums.js | 50 +-- ...ith-const-enums-with-preserveConstEnums.js | 40 +-- .../tsc/incremental/with-const-enums.js | 40 +-- .../tsc/incremental/with-only-dts-files.js | 12 +- .../tsc/libraryResolution/unknown-lib.js | 16 +- .../with-config-with-redirection.js | 20 +- .../tsc/libraryResolution/with-config.js | 20 +- .../combined-with-incremental.js | 4 +- .../tsc/moduleResolution/alternateResult.js | 48 +-- .../noEmit/changes-composite-discrepancies.js | 280 ++++++++-------- .../tsc/noEmit/changes-composite-outFile.js | 42 +-- .../reference/tsc/noEmit/changes-composite.js | 84 ++--- ...changes-incremental-declaration-outFile.js | 42 +-- .../noEmit/changes-incremental-declaration.js | 84 ++--- .../tsc/noEmit/changes-incremental-outFile.js | 42 +-- .../tsc/noEmit/changes-incremental.js | 84 ++--- ...-initial-noEmit-composite-discrepancies.js | 28 +- ...s-with-initial-noEmit-composite-outFile.js | 42 +-- .../changes-with-initial-noEmit-composite.js | 70 ++-- ...-noEmit-incremental-declaration-outFile.js | 42 +-- ...-initial-noEmit-incremental-declaration.js | 70 ++-- ...with-initial-noEmit-incremental-outFile.js | 42 +-- ...changes-with-initial-noEmit-incremental.js | 70 ++-- .../noEmit/when-project-has-strict-true.js | 4 +- ...-before-fixing-error-with-noEmitOnError.js | 10 +- ...tFile-with-declaration-with-incremental.js | 8 +- ...emantic-errors-outFile-with-incremental.js | 8 +- ...rrors-with-declaration-with-incremental.js | 16 +- .../semantic-errors-with-incremental.js | 16 +- ...tFile-with-declaration-with-incremental.js | 8 +- .../syntax-errors-outFile-with-incremental.js | 8 +- ...rrors-with-declaration-with-incremental.js | 16 +- .../syntax-errors-with-incremental.js | 16 +- ...en-declarationMap-changes-discrepancies.js | 12 +- ...hen-declarationMap-changes-with-outFile.js | 12 +- .../when-declarationMap-changes.js | 18 +- .../default-setup-was-created-correctly.js | 4 +- ...snt-infer-the-rootDir-from-source-paths.js | 4 +- ...rors-when-a-file-is-outside-the-rootdir.js | 6 +- .../errors-when-declaration-=-false.js | 4 +- ...rs-when-the-file-list-is-not-exhaustive.js | 6 +- ...hen-the-referenced-project-doesnt-exist.js | 4 +- ...eferenced-project-doesnt-have-composite.js | 4 +- ...g-when-module-reference-is-not-relative.js | 4 +- ...ce-error-when-the-input-file-is-missing.js | 4 +- .../redirects-to-the-output-dts-file.js | 8 +- ...ypes-found-doesn't-crash-under---strict.js | 6 +- ...th-no-backing-types-found-doesn't-crash.js | 6 +- ...does-not-add-color-when-NO_COLOR-is-set.js | 8 +- ...-when-host-can't-provide-terminal-width.js | 8 +- ...tatus.DiagnosticsPresent_OutputsSkipped.js | 8 +- ...rrors-for-.d.ts-change-with-incremental.js | 32 +- .../errors-for-.ts-change-with-incremental.js | 32 +- ...el-import-that-changes-with-incremental.js | 48 +-- .../export-with-incremental.js | 56 ++-- .../exports-with-incremental.js | 64 ++-- ...rrors-for-.d.ts-change-with-incremental.js | 32 +- .../errors-for-.ts-change-with-incremental.js | 32 +- ...el-import-that-changes-with-incremental.js | 48 +-- .../export-with-incremental.js | 56 ++-- .../exports-with-incremental.js | 64 ++-- ...rrors-for-.d.ts-change-with-incremental.js | 32 +- .../errors-for-.ts-change-with-incremental.js | 32 +- ...el-import-that-changes-with-incremental.js | 48 +-- .../export-with-incremental.js | 56 ++-- .../exports-with-incremental.js | 64 ++-- ...rrors-for-.d.ts-change-with-incremental.js | 32 +- .../errors-for-.ts-change-with-incremental.js | 32 +- ...el-import-that-changes-with-incremental.js | 48 +-- .../export-with-incremental.js | 56 ++-- .../exports-with-incremental.js | 64 ++-- ...rrors-for-.d.ts-change-with-incremental.js | 32 +- .../errors-for-.ts-change-with-incremental.js | 32 +- ...el-import-that-changes-with-incremental.js | 48 +-- .../export-with-incremental.js | 56 ++-- .../exports-with-incremental.js | 64 ++-- ...rrors-for-.d.ts-change-with-incremental.js | 32 +- .../errors-for-.ts-change-with-incremental.js | 32 +- ...el-import-that-changes-with-incremental.js | 48 +-- .../export-with-incremental.js | 56 ++-- .../exports-with-incremental.js | 64 ++-- .../tscWatch/extends/configDir-template.js | 4 +- .../extends/resolves-the-symlink-path.js | 4 +- .../jsxImportSource-option-changed.js | 2 +- .../package-json-is-looked-up-for-file.js | 2 +- .../self-name-package-reference.js | 6 +- ...n-Windows-style-drive-root-is-lowercase.js | 4 +- ...n-Windows-style-drive-root-is-uppercase.js | 4 +- ...ry-symlink-target-and-import-match-disk.js | 4 +- ...le-symlink-target-and-import-match-disk.js | 4 +- ...target-matches-disk-but-import-does-not.js | 4 +- ...m-multiple-places-with-different-casing.js | 6 +- ...target-matches-disk-but-import-does-not.js | 4 +- ...link-target,-and-disk-are-all-different.js | 4 +- ...link-target,-and-disk-are-all-different.js | 4 +- ...link-target-agree-but-do-not-match-disk.js | 4 +- ...link-target-agree-but-do-not-match-disk.js | 4 +- ...k-but-directory-symlink-target-does-not.js | 4 +- ...s-disk-but-file-symlink-target-does-not.js | 4 +- ...ative-information-file-location-changes.js | 4 +- .../with-nodeNext-resolution.js | 2 +- ...editing-module-augmentation-incremental.js | 16 +- .../editing-module-augmentation-watch.js | 16 +- ...lpers-backing-types-removed-incremental.js | 10 +- ...al-with-circular-references-incremental.js | 20 +- ...remental-with-circular-references-watch.js | 20 +- ...tSource-backing-types-added-incremental.js | 10 +- ...xImportSource-backing-types-added-watch.js | 10 +- ...ource-backing-types-removed-incremental.js | 10 +- ...mportSource-backing-types-removed-watch.js | 10 +- ...ImportSource-option-changed-incremental.js | 16 +- .../jsxImportSource-option-changed-watch.js | 16 +- .../own-file-emit-with-errors-incremental.js | 12 +- .../own-file-emit-with-errors-watch.js | 12 +- ...wn-file-emit-without-errors-incremental.js | 12 +- .../own-file-emit-without-errors-watch.js | 12 +- .../with---out-incremental.js | 6 +- .../module-compilation/with---out-watch.js | 6 +- .../own-file-emit-with-errors-incremental.js | 12 +- .../own-file-emit-with-errors-watch.js | 12 +- ...eters-that-are-not-relative-incremental.js | 12 +- ...-parameters-that-are-not-relative-watch.js | 12 +- ...without-commandline-options-incremental.js | 12 +- .../without-commandline-options-watch.js | 12 +- .../incremental/tsbuildinfo-has-error.js | 4 +- ...declaration-file-is-deleted-incremental.js | 10 +- ...lobal-declaration-file-is-deleted-watch.js | 10 +- .../incremental/with---out-incremental.js | 6 +- .../tscWatch/incremental/with---out-watch.js | 6 +- .../tscWatch/libraryResolution/unknwon-lib.js | 76 ++--- .../with-config-with-redirection.js | 150 ++++----- .../tscWatch/libraryResolution/with-config.js | 150 ++++----- .../moduleResolution/alternateResult.js | 48 +-- .../late-discovered-dependency-symlink.js | 4 +- ...en-package-json-with-type-module-exists.js | 12 +- .../package-json-file-is-edited.js | 12 +- ...tFile-with-declaration-with-incremental.js | 16 +- .../noEmitOnError-outFile-with-incremental.js | 16 +- ...Error-with-declaration-with-incremental.js | 32 +- .../noEmitOnError-with-incremental.js | 32 +- ...iles-are-reflected-in-project-structure.js | 4 +- ...keys-differ-only-in-directory-seperator.js | 22 +- .../handle-recreated-files-correctly.js | 8 +- .../declarationDir-is-specified.js | 2 +- ...-outDir-and-declarationDir-is-specified.js | 2 +- .../when-outDir-is-specified.js | 2 +- .../with-outFile.js | 2 +- ...e-is-specified-with-declaration-enabled.js | 2 +- .../without-outDir-or-outFile-is-specified.js | 2 +- .../should-reflect-change-in-config-file.js | 6 +- ...file-is-added-to-the-referenced-project.js | 28 +- .../on-sample-project-with-nodenext.js | 76 ++--- .../on-sample-project.js | 76 ++--- ...-different-folders-with-no-files-clause.js | 36 +- ...nsitive-references-in-different-folders.js | 36 +- .../on-transitive-references-with-nodenext.js | 36 +- .../on-transitive-references.js | 36 +- ...n-declarationMap-changes-for-dependency.js | 28 +- ...roject-uses-different-module-resolution.js | 12 +- .../reusing-type-ref-resolution.js | 42 +-- ...-prefers-declaration-file-over-document.js | 6 +- ...es-field-when-solution-is-already-built.js | 22 +- ...Symlinks-when-solution-is-already-built.js | 22 +- ...n-has-types-field-with-preserveSymlinks.js | 8 +- ...-package-when-solution-is-already-built.js | 22 +- ...Symlinks-when-solution-is-already-built.js | 22 +- ...th-scoped-package-with-preserveSymlinks.js | 8 +- ...son-has-types-field-with-scoped-package.js | 8 +- .../when-packageJson-has-types-field.js | 8 +- ...ubFolder-when-solution-is-already-built.js | 22 +- ...Symlinks-when-solution-is-already-built.js | 22 +- ...le-from-subFolder-with-preserveSymlinks.js | 8 +- ...-package-when-solution-is-already-built.js | 22 +- ...Symlinks-when-solution-is-already-built.js | 22 +- ...th-scoped-package-with-preserveSymlinks.js | 8 +- ...file-from-subFolder-with-scoped-package.js | 8 +- .../when-referencing-file-from-subFolder.js | 8 +- ...-project-when-solution-is-already-built.js | 24 +- .../with-simple-project.js | 10 +- ...ith-composite-with-emit-builder-outFile.js | 20 +- ...noEmit-with-composite-with-emit-builder.js | 30 +- ...composite-with-semantic-builder-outFile.js | 20 +- ...it-with-composite-with-semantic-builder.js | 30 +- ...ith-composite-with-emit-builder-outFile.js | 8 +- ...nError-with-composite-with-emit-builder.js | 18 +- ...composite-with-semantic-builder-outFile.js | 8 +- ...or-with-composite-with-semantic-builder.js | 18 +- .../watchApi/semantic-builder-emitOnlyDts.js | 12 +- ...ting-with-emitOnlyDtsFiles-with-outFile.js | 12 +- .../when-emitting-with-emitOnlyDtsFiles.js | 18 +- ...ing-useSourceOfProjectReferenceRedirect.js | 28 +- ...-host-implementing-getParsedCommandLine.js | 14 +- .../with-applyChangedToOpenFiles-request.js | 2 +- .../with-updateOpen-request.js | 2 +- ...e-is-in-inferred-project-until-imported.js | 4 +- ...roviderProject-when-host-project-closes.js | 4 +- ...-are-redirects-that-dont-actually-exist.js | 2 +- ...ider-if-there-are-too-many-dependencies.js | 4 +- ...pening-projects-for-find-all-references.js | 6 +- ...s-on-AutoImportProviderProject-creation.js | 4 +- ...covers-from-an-unparseable-package_json.js | 4 +- ...ds-to-automatic-changes-in-node_modules.js | 4 +- ...ponds-to-manual-changes-in-node_modules.js | 4 +- .../Responds-to-package_json-changes.js | 4 +- ...der-when-program-structure-is-unchanged.js | 4 +- ...een-AutoImportProvider-and-main-program.js | 2 +- ...ependencies-are-already-in-main-program.js | 4 +- .../without-dependencies-listed.js | 4 +- ...-added-later-through-finding-definition.js | 2 +- ...olution-is-reused-from-different-folder.js | 2 +- ...-FLLs-in-Classic-module-resolution-mode.js | 4 +- ...der-FLLs-in-Node-module-resolution-mode.js | 4 +- ...-when-timeout-occurs-after-installation.js | 4 +- ...n-timeout-occurs-inbetween-installation.js | 4 +- ...-file-with-case-insensitive-file-system.js | 10 +- ...ig-file-with-case-sensitive-file-system.js | 10 +- .../when-calling-goto-definition-of-module.js | 26 +- ...n-creating-new-file-in-symlinked-folder.js | 4 +- ...eive-event-for-the-@types-file-addition.js | 4 +- .../cancellationT/Geterr-is-cancellable.js | 2 +- .../Lower-priority-tasks-are-cancellable.js | 2 +- .../install-package-when-serialized.js | 2 +- .../tsserver/codeFix/install-package.js | 2 +- ...quest-when-projectFile-is-not-specified.js | 4 +- ...stRequest-when-projectFile-is-specified.js | 4 +- ...utFile-should-be-true-if-outFile-is-set.js | 2 +- ...tFile-should-not-be-returned-if-not-set.js | 2 +- ...ojects-all-projects-without-projectPath.js | 4 +- ...figProjects-cascaded-affected-file-list.js | 2 +- .../configProjects-circular-references.js | 2 +- .../configProjects-compileOnSave-disabled.js | 2 +- ...Projects-compileOnSave-in-base-tsconfig.js | 2 +- ...ojects-detect-changes-in-non-root-files.js | 2 +- ...onfigProjects-global-file-shape-changed.js | 2 +- .../configProjects-isolatedModules.js | 2 +- .../configProjects-module-shape-changed.js | 2 +- .../compileOnSave/configProjects-noEmit.js | 2 +- .../configProjects-non-existing-code.js | 2 +- .../compileOnSave/configProjects-outFile.js | 4 +- .../configProjects-removed-code.js | 2 +- ...uptodate-with-changes-in-non-open-files.js | 2 +- ...figProjects-uptodate-with-deleted-files.js | 4 +- .../configProjects-uptodate-with-new-files.js | 4 +- ...cts-uptodate-with-reference-map-changes.js | 2 +- ...ileChange-in-global-file-with-composite.js | 2 +- ...ange-in-global-file-with-decorator-emit.js | 2 +- ...FileChange-in-global-file-with-dts-emit.js | 2 +- .../dtsFileChange-in-global-file.js | 2 +- .../dtsFileChange-in-module-file.js | 2 +- .../emit-in-project-with-dts-emit.js | 4 +- ...it-in-project-with-module-with-dts-emit.js | 2 +- .../emit-in-project-with-module.js | 2 +- .../tsserver/compileOnSave/emit-in-project.js | 4 +- .../compileOnSave/emit-specified-file.js | 2 +- .../emit-with-richRepsonse-as-false.js | 4 +- .../emit-with-richRepsonse-as-true.js | 4 +- .../emit-with-richRepsonse-as-undefined.js | 4 +- ...-not-emit-js-files-in-external-projects.js | 2 +- .../use-projectRoot-as-current-directory.js | 2 +- ...hout-includeCompletionsForModuleExports.js | 2 +- ...-with-path-mapping-with-existing-import.js | 2 +- ...hout-includeCompletionsForModuleExports.js | 2 +- ...oject-reference-setup-with-path-mapping.js | 2 +- ...mports-but-has-project-references-setup.js | 2 +- ...ed-from-two-different-drives-of-windows.js | 2 +- .../reference/tsserver/completions/works.js | 2 +- ...-not-count-against-the-resolution-limit.js | 4 +- ...ailable-from-module-specifier-cache-(1).js | 4 +- ...ailable-from-module-specifier-cache-(2).js | 4 +- ...-for-transient-symbols-between-requests.js | 4 +- ...orks-with-PackageJsonAutoImportProvider.js | 4 +- .../tsserver/completionsIncomplete/works.js | 4 +- ...should-stop-at-projectRootPath-if-given.js | 2 +- ...-searching-for-inferred-project-again-2.js | 4 +- ...en-searching-for-inferred-project-again.js | 4 +- .../tsconfig-for-the-file-does-not-exist.js | 6 +- .../tsconfig-for-the-file-exists.js | 4 +- .../when-projectRootPath-is-not-present.js | 2 +- ...esent-but-file-is-not-from-project-root.js | 2 +- ...-are-all-closed-when-the-update-happens.js | 6 +- ...oject-as-part-of-configured-file-update.js | 6 +- ...onfig-file-in-a-folder-with-loose-files.js | 30 +- ...-and-file-from-first-config-is-not-open.js | 26 +- ...file-when-parent-folder-has-config-file.js | 80 ++--- ...-and-file-from-first-config-is-not-open.js | 26 +- ...-config-file-with-sibling-jsconfig-file.js | 80 ++--- ...-a-configured-project-without-file-list.js | 4 +- ...has-changed-(new-file-in-list-of-files).js | 4 +- ...ot-files-has-changed-(new-file-on-disk).js | 2 +- ...-when-set-of-root-files-was-not-changed.js | 4 +- ...on-reflected-when-specifying-files-list.js | 6 +- ...e-configured-project-with-the-file-list.js | 2 +- ...te-configured-project-without-file-list.js | 2 +- ...er-old-one-without-file-being-in-config.js | 4 +- ...invoked,-ask-errors-on-it-after-old-one.js | 4 +- ...re-old-one-without-file-being-in-config.js | 4 +- ...nvoked,-ask-errors-on-it-before-old-one.js | 4 +- ...er-old-one-without-file-being-in-config.js | 4 +- ...invoked,-ask-errors-on-it-after-old-one.js | 6 +- ...re-old-one-without-file-being-in-config.js | 4 +- ...nvoked,-ask-errors-on-it-before-old-one.js | 6 +- ...uses-parent-most-node_modules-directory.js | 2 +- ...ached-when-language-service-is-disabled.js | 2 +- ...iles-explicitly-excluded-in-config-file.js | 2 +- .../handle-recreated-files-correctly.js | 2 +- ...ject-if-it-is-referenced-from-root-file.js | 2 +- ...server-when-reading-tsconfig-file-fails.js | 2 +- ...ting-files-specified-in-the-config-file.js | 4 +- ...erenced-by-the-project-but-not-its-root.js | 24 +- ...n-if-its-not-the-file-from-same-project.js | 24 +- ...odule-resolution-changes-in-config-file.js | 10 +- ...nfigured-project-that-has-no-open-files.js | 24 +- ...the-extended-configs-of-closed-projects.js | 6 +- ...errors-and-still-try-to-build-a-project.js | 24 +- ...nclude-files-that-start-in-subDirectory.js | 2 +- ...e-extended-configs-of-multiple-projects.js | 16 +- ...rk-even-if-language-service-is-disabled.js | 2 +- ...gured-project-does-not-contain-the-file.js | 6 +- .../when-file-name-starts-with-caret.js | 2 +- ...re-open-detects-correct-default-project.js | 6 +- ...indAllReferences-starting-at-definition.js | 6 +- ...findAllReferences-target-does-not-exist.js | 4 +- .../declarationFileMaps/findAllReferences.js | 6 +- ...rencesFull-definition-is-in-mapped-file.js | 4 +- .../findAllReferencesFull.js | 6 +- ...nitionAndBoundSpan-with-file-navigation.js | 8 +- .../getDefinitionAndBoundSpan.js | 4 +- ...ect-doesnt-include-file-and-its-renamed.js | 4 +- .../getEditsForFileRename.js | 4 +- .../goToDefinition-target-does-not-exist.js | 4 +- .../declarationFileMaps/goToDefinition.js | 4 +- .../declarationFileMaps/goToImplementation.js | 4 +- .../tsserver/declarationFileMaps/goToType.js | 4 +- .../declarationFileMaps/navigateTo.js | 4 +- ...ll-file-is-not-specified-but-project-is.js | 6 +- ...l-neither-file-not-project-is-specified.js | 6 +- .../renameLocations-starting-at-definition.js | 6 +- .../renameLocations-target-does-not-exist.js | 4 +- .../declarationFileMaps/renameLocations.js | 6 +- .../renameLocationsFull.js | 6 +- ...-orphan,-and-orphan-script-info-changes.js | 6 +- ...he-source-file-if-script-info-is-orphan.js | 6 +- .../works-with-import-fixes.js | 2 +- ...eInferredProjectPerProjectRoot-is-false.js | 2 +- ...h-with-useInferredProjectPerProjectRoot.js | 4 +- ...eference-paths-without-external-project.js | 2 +- .../dynamic-file-without-external-project.js | 2 +- ...Path-is-different-from-currentDirectory.js | 6 +- .../dynamicFiles/opening-untitled-files.js | 6 +- ...tled-can-convert-positions-to-locations.js | 2 +- .../tsserver/dynamicFiles/untitled.js | 2 +- .../dynamicFiles/walkThroughSnippet.js | 2 +- ...anging-scriptKind-of-the-untitled-files.js | 4 +- ...s-file-is-included-by-module-resolution.js | 2 +- ...n-large-js-file-is-included-by-tsconfig.js | 2 +- ...s-file-is-included-by-module-resolution.js | 2 +- ...n-large-ts-file-is-included-by-tsconfig.js | 2 +- ...e-service-disabled-events-are-triggered.js | 4 +- ...large-file-size-is-determined-correctly.js | 2 +- ...g-file-when-using-default-event-handler.js | 2 +- ...ed-config-file-when-using-event-handler.js | 2 +- ...g-file-when-using-default-event-handler.js | 2 +- ...he-config-file-when-using-event-handler.js | 2 +- ...sabled-when-using-default-event-handler.js | 2 +- ...ct-is-disabled-when-using-event-handler.js | 2 +- ...-false-when-using-default-event-handler.js | 2 +- ...oject-is-false-when-using-event-handler.js | 2 +- ...opened-when-using-default-event-handler.js | 2 +- ...file-is-opened-when-using-event-handler.js | 2 +- ...direct-when-using-default-event-handler.js | 4 +- ...erenceRedirect-when-using-event-handler.js | 4 +- ...roject-when-using-default-event-handler.js | 4 +- ...cation-project-when-using-event-handler.js | 4 +- ...n-file-when-using-default-event-handler.js | 4 +- ...d-by-open-file-when-using-event-handler.js | 4 +- ...he-session-and-project-is-at-root-level.js | 2 +- ...ession-and-project-is-not-at-root-level.js | 4 +- ...tself-if---isolatedModules-is-specified.js | 4 +- ...self-if---out-or---outFile-is-specified.js | 6 +- ...should-be-up-to-date-with-deleted-files.js | 4 +- ...-be-up-to-date-with-newly-created-files.js | 4 +- ...-to-date-with-the-reference-map-changes.js | 4 +- ...session-and-should-contains-only-itself.js | 4 +- ...should-detect-changes-in-non-root-files.js | 4 +- ...nd-should-detect-non-existing-code-file.js | 6 +- ...ion-and-should-detect-removed-code-file.js | 4 +- ...ll-files-if-a-global-file-changed-shape.js | 4 +- ...ould-return-cascaded-affected-file-list.js | 4 +- ...fine-for-files-with-circular-references.js | 4 +- ...n-the-session-and-when---outFile-is-set.js | 4 +- ...in-the-session-and-when-adding-new-file.js | 6 +- ...ssion-and-when-both-options-are-not-set.js | 4 +- ...oundUpdate-and-project-is-at-root-level.js | 2 +- ...Update-and-project-is-not-at-root-level.js | 4 +- ...tself-if---isolatedModules-is-specified.js | 4 +- ...self-if---out-or---outFile-is-specified.js | 6 +- ...should-be-up-to-date-with-deleted-files.js | 4 +- ...-be-up-to-date-with-newly-created-files.js | 4 +- ...-to-date-with-the-reference-map-changes.js | 4 +- ...dUpdate-and-should-contains-only-itself.js | 4 +- ...should-detect-changes-in-non-root-files.js | 4 +- ...nd-should-detect-non-existing-code-file.js | 6 +- ...ate-and-should-detect-removed-code-file.js | 4 +- ...ll-files-if-a-global-file-changed-shape.js | 4 +- ...ould-return-cascaded-affected-file-list.js | 4 +- ...fine-for-files-with-circular-references.js | 4 +- ...kgroundUpdate-and-when---outFile-is-set.js | 4 +- ...ckgroundUpdate-and-when-adding-new-file.js | 6 +- ...pdate-and-when-both-options-are-not-set.js | 4 +- ...oundUpdate-and-project-is-at-root-level.js | 2 +- ...Update-and-project-is-not-at-root-level.js | 4 +- ...tself-if---isolatedModules-is-specified.js | 4 +- ...self-if---out-or---outFile-is-specified.js | 6 +- ...should-be-up-to-date-with-deleted-files.js | 4 +- ...-be-up-to-date-with-newly-created-files.js | 4 +- ...-to-date-with-the-reference-map-changes.js | 4 +- ...dUpdate-and-should-contains-only-itself.js | 4 +- ...should-detect-changes-in-non-root-files.js | 4 +- ...nd-should-detect-non-existing-code-file.js | 6 +- ...ate-and-should-detect-removed-code-file.js | 4 +- ...ll-files-if-a-global-file-changed-shape.js | 4 +- ...ould-return-cascaded-affected-file-list.js | 4 +- ...fine-for-files-with-circular-references.js | 4 +- ...kgroundUpdate-and-when---outFile-is-set.js | 4 +- ...ckgroundUpdate-and-when-adding-new-file.js | 6 +- ...pdate-and-when-both-options-are-not-set.js | 4 +- .../canUseWatchEvents-on-windows.js | 6 +- .../canUseWatchEvents-without-canUseEvents.js | 4 +- .../events/watchEvents/canUseWatchEvents.js | 6 +- .../caches-auto-imports-in-the-same-file.js | 2 +- ...ckage.json-is-changed-inconsequentially.js | 2 +- ...s-inconsequentially-referencedInProject.js | 8 +- ...enced-project-changes-inconsequentially.js | 8 +- ...ansient-symbols-through-program-updates.js | 2 +- ...-file-is-opened-with-different-contents.js | 2 +- ...idates-the-cache-when-files-are-deleted.js | 2 +- ...ates-the-cache-when-new-files-are-added.js | 2 +- ...ge-results-in-AutoImportProvider-change.js | 2 +- ...-changes-signatures-referencedInProject.js | 8 +- ...n-referenced-project-changes-signatures.js | 8 +- ...-when-set-of-root-files-was-not-changed.js | 2 +- ...s-changes-in-lib-section-of-config-file.js | 6 +- ...zyConfiguredProjectsFromExternalProject.js | 2 +- ...tly-handling-add-or-remove-tsconfig---1.js | 2 +- ...zyConfiguredProjectsFromExternalProject.js | 8 +- ...tly-handling-add-or-remove-tsconfig---2.js | 8 +- ...zyConfiguredProjectsFromExternalProject.js | 2 +- ...-opened-from-the-external-project-works.js | 2 +- ...rnal-project-that-included-config-files.js | 6 +- ...fter-configured-project-and-then-closed.js | 6 +- ...ig-file-opened-after-configured-project.js | 2 +- ...re-jsconfig-creation-watcher-is-invoked.js | 4 +- ...ProjectsFromExternalProject-is-disabled.js | 4 +- ...non-existing-directories-in-config-file.js | 2 +- .../when-file-name-starts-with-caret.js | 2 +- ...-was-updated-and-no-longer-has-the-file.js | 52 ++- ...et-and-import-match-disk-with-link-open.js | 4 +- ...rt-match-disk-with-target-and-link-open.js | 4 +- ...-and-import-match-disk-with-target-open.js | 4 +- ...ry-symlink-target-and-import-match-disk.js | 4 +- ...et-and-import-match-disk-with-link-open.js | 2 +- ...rt-match-disk-with-target-and-link-open.js | 2 +- ...-and-import-match-disk-with-target-open.js | 2 +- ...le-symlink-target-and-import-match-disk.js | 2 +- ...nging-module-name-with-different-casing.js | 2 +- ...disk-but-import-does-not-with-link-open.js | 4 +- ...port-does-not-with-target-and-link-open.js | 4 +- ...sk-but-import-does-not-with-target-open.js | 4 +- ...target-matches-disk-but-import-does-not.js | 4 +- ...m-multiple-places-with-different-casing.js | 2 +- ...disk-but-import-does-not-with-link-open.js | 2 +- ...port-does-not-with-target-and-link-open.js | 2 +- ...sk-but-import-does-not-with-target-open.js | 2 +- ...target-matches-disk-but-import-does-not.js | 2 +- ...d-disk-are-all-different-with-link-open.js | 4 +- ...all-different-with-target-and-link-open.js | 4 +- ...disk-are-all-different-with-target-open.js | 4 +- ...link-target,-and-disk-are-all-different.js | 4 +- ...d-disk-are-all-different-with-link-open.js | 2 +- ...all-different-with-target-and-link-open.js | 2 +- ...disk-are-all-different-with-target-open.js | 2 +- ...link-target,-and-disk-are-all-different.js | 2 +- ...ee-but-do-not-match-disk-with-link-open.js | 4 +- ...ot-match-disk-with-target-and-link-open.js | 4 +- ...-but-do-not-match-disk-with-target-open.js | 4 +- ...link-target-agree-but-do-not-match-disk.js | 4 +- ...ee-but-do-not-match-disk-with-link-open.js | 2 +- ...ot-match-disk-with-target-and-link-open.js | 2 +- ...-but-do-not-match-disk-with-target-open.js | 2 +- ...link-target-agree-but-do-not-match-disk.js | 2 +- ...-symlink-target-does-not-with-link-open.js | 4 +- ...rget-does-not-with-target-and-link-open.js | 4 +- ...ymlink-target-does-not-with-target-open.js | 4 +- ...k-but-directory-symlink-target-does-not.js | 4 +- ...-symlink-target-does-not-with-link-open.js | 2 +- ...rget-does-not-with-target-and-link-open.js | 2 +- ...ymlink-target-does-not-with-target-open.js | 2 +- ...s-disk-but-file-symlink-target-does-not.js | 2 +- ...ied-with-a-case-insensitive-file-system.js | 2 +- ...hen-renaming-file-with-different-casing.js | 2 +- .../autoImportCrossPackage_pathsAndSymlink.js | 4 +- .../autoImportCrossProject_baseUrl_toDist.js | 6 +- ...toImportCrossProject_paths_sharedOutDir.js | 4 +- .../autoImportCrossProject_paths_stripSrc.js | 6 +- .../autoImportCrossProject_paths_toDist.js | 6 +- .../autoImportCrossProject_paths_toDist2.js | 6 +- .../autoImportCrossProject_paths_toSrc.js | 6 +- ...utoImportCrossProject_symlinks_stripSrc.js | 6 +- .../autoImportCrossProject_symlinks_toDist.js | 6 +- .../autoImportCrossProject_symlinks_toSrc.js | 6 +- .../autoImportFileExcludePatterns1.js | 4 +- .../autoImportFileExcludePatterns2.js | 4 +- ...oImportFileExcludePatterns_networkPaths.js | 4 +- .../autoImportFileExcludePatterns_symlinks.js | 4 +- ...autoImportFileExcludePatterns_symlinks2.js | 4 +- ...oImportFileExcludePatterns_windowsPaths.js | 4 +- .../autoImportNodeModuleSymlinkRenamed.js | 4 +- .../fourslashServer/autoImportProvider1.js | 2 +- .../fourslashServer/autoImportProvider2.js | 2 +- .../fourslashServer/autoImportProvider3.js | 24 +- .../fourslashServer/autoImportProvider4.js | 26 +- .../fourslashServer/autoImportProvider5.js | 4 +- .../fourslashServer/autoImportProvider6.js | 2 +- .../fourslashServer/autoImportProvider7.js | 2 +- .../fourslashServer/autoImportProvider8.js | 2 +- .../autoImportProvider_exportMap1.js | 2 +- .../autoImportProvider_exportMap2.js | 2 +- .../autoImportProvider_exportMap3.js | 2 +- .../autoImportProvider_exportMap4.js | 2 +- .../autoImportProvider_exportMap5.js | 2 +- .../autoImportProvider_exportMap6.js | 2 +- .../autoImportProvider_exportMap7.js | 2 +- .../autoImportProvider_exportMap8.js | 2 +- .../autoImportProvider_exportMap9.js | 2 +- .../autoImportProvider_globalTypingsCache.js | 4 +- .../autoImportProvider_importsMap1.js | 2 +- .../autoImportProvider_importsMap2.js | 2 +- .../autoImportProvider_importsMap3.js | 2 +- .../autoImportProvider_importsMap4.js | 2 +- .../autoImportProvider_importsMap5.js | 2 +- ...rtProvider_namespaceSameNameAsIntrinsic.js | 2 +- .../autoImportProvider_pnpm.js | 2 +- .../autoImportProvider_referencesCrash.js | 8 +- .../autoImportProvider_wildcardExports1.js | 2 +- .../autoImportProvider_wildcardExports2.js | 2 +- .../autoImportProvider_wildcardExports3.js | 4 +- .../autoImportReExportFromAmbientModule.js | 2 +- ...autoImportRelativePathToMonorepoPackage.js | 2 +- .../autoImportSymlinkedJsPackages.js | 4 +- .../tsserver/fourslashServer/brace01.js | 2 +- .../callHierarchyContainerNameServer.js | 2 +- .../completionEntryDetailAcrossFiles01.js | 6 +- .../completionEntryDetailAcrossFiles02.js | 6 +- .../tsserver/fourslashServer/completions01.js | 2 +- .../tsserver/fourslashServer/completions02.js | 2 +- .../tsserver/fourslashServer/completions03.js | 2 +- ...mport_addToNamedWithDifferentCacheValue.js | 2 +- .../completionsImport_computedSymbolName.js | 2 +- ...letionsImport_jsModuleExportsAssignment.js | 2 +- .../completionsImport_mergedReExport.js | 2 +- ...mpletionsImport_sortingModuleSpecifiers.js | 4 +- .../completionsOverridingMethodCrash2.js | 2 +- .../fourslashServer/configurePlugin.js | 4 +- .../convertFunctionToEs6Class-server1.js | 2 +- .../convertFunctionToEs6Class-server2.js | 2 +- .../declarationMapGoToDefinition.js | 4 +- .../declarationMapsEnableMapping_NoInline.js | 6 +- ...rationMapsEnableMapping_NoInlineSources.js | 6 +- ...clarationMapsGeneratedMapsEnableMapping.js | 6 +- ...larationMapsGeneratedMapsEnableMapping2.js | 6 +- ...larationMapsGeneratedMapsEnableMapping3.js | 6 +- ...ionMapsGoToDefinitionRelativeSourceRoot.js | 4 +- ...oToDefinitionSameNameDifferentDirectory.js | 6 +- .../declarationMapsOutOfDateMapping.js | 6 +- .../tsserver/fourslashServer/definition01.js | 2 +- .../fourslashServer/documentHighlights01.js | 2 +- .../fourslashServer/documentHighlights02.js | 6 +- ...ghlightsTypeParameterInHeritageClause01.js | 2 +- .../fixExtractToInnerFunctionDuplicaton.js | 2 +- .../tsserver/fourslashServer/format01.js | 2 +- .../formatBracketInSwitchCase.js | 2 +- .../tsserver/fourslashServer/formatOnEnter.js | 2 +- ...formatSpaceBetweenFunctionAndArrayIndex.js | 2 +- .../tsserver/fourslashServer/formatonkey01.js | 2 +- .../getFileReferences_deduplicate.js | 6 +- .../getFileReferences_server1.js | 4 +- .../getFileReferences_server2.js | 8 +- .../getJavaScriptSyntacticDiagnostics01.js | 2 +- .../getJavaScriptSyntacticDiagnostics02.js | 2 +- .../getOutliningSpansForComments.js | 2 +- .../getOutliningSpansForRegions.js | 2 +- ...tliningSpansForRegionsNoSingleLineFolds.js | 2 +- .../goToDefinitionScriptImportServer.js | 6 +- .../goToImplementation_inDifferentFiles.js | 2 +- .../goToSource10_mapFromAtTypes3.js | 4 +- .../goToSource11_propertyOfAlias.js | 4 +- .../goToSource12_callbackParam.js | 4 +- .../fourslashServer/goToSource13_nodenext.js | 2 +- ...Source14_unresolvedRequireDestructuring.js | 2 +- .../fourslashServer/goToSource15_bundler.js | 2 +- ...goToSource16_callbackParamDifferentFile.js | 4 +- .../goToSource17_AddsFileToProject.js | 4 +- .../goToSource18_reusedFromDifferentFolder.js | 4 +- .../goToSource1_localJsBesideDts.js | 4 +- .../goToSource2_nodeModulesWithTypes.js | 4 +- .../goToSource3_nodeModulesAtTypes.js | 4 +- .../goToSource5_sameAsGoToDef1.js | 6 +- .../goToSource6_sameAsGoToDef2.js | 4 +- .../goToSource7_conditionallyMinified.js | 4 +- .../goToSource8_mapFromAtTypes.js | 4 +- .../goToSource9_mapFromAtTypes2.js | 4 +- .../fourslashServer/implementation01.js | 2 +- .../fourslashServer/impliedNodeFormat.js | 2 +- ...importNameCodeFix_externalNonRelateive2.js | 4 +- .../importNameCodeFix_externalNonRelative1.js | 6 +- .../importNameCodeFix_pnpm1.js | 4 +- .../importStatementCompletions_pnpm1.js | 4 +- ...portStatementCompletions_pnpmTransitive.js | 4 +- .../importSuggestionsCache_ambient.js | 2 +- .../importSuggestionsCache_coreNodeModules.js | 2 +- .../importSuggestionsCache_exportUndefined.js | 2 +- ...portSuggestionsCache_invalidPackageJson.js | 2 +- ...portSuggestionsCache_moduleAugmentation.js | 2 +- .../isDefinitionAcrossGlobalProjects.js | 6 +- .../isDefinitionAcrossModuleProjects.js | 8 +- .../fourslashServer/jsdocCallbackTag.js | 2 +- .../jsdocCallbackTagNavigateTo.js | 2 +- .../jsdocCallbackTagRename01.js | 2 +- .../jsdocParamTagSpecialKeywords.js | 2 +- .../fourslashServer/jsdocTypedefTag.js | 2 +- .../fourslashServer/jsdocTypedefTag1.js | 2 +- .../fourslashServer/jsdocTypedefTag2.js | 2 +- .../jsdocTypedefTagGoToDefinition.js | 2 +- .../jsdocTypedefTagNamespace.js | 2 +- .../jsdocTypedefTagNavigateTo.js | 2 +- .../jsdocTypedefTagRename01.js | 2 +- .../jsdocTypedefTagRename02.js | 2 +- .../jsdocTypedefTagRename03.js | 2 +- .../jsdocTypedefTagRename04.js | 2 +- .../tsserver/fourslashServer/navbar01.js | 2 +- .../tsserver/fourslashServer/navto01.js | 2 +- .../tsserver/fourslashServer/ngProxy1.js | 4 +- .../tsserver/fourslashServer/ngProxy2.js | 4 +- .../tsserver/fourslashServer/ngProxy3.js | 4 +- .../tsserver/fourslashServer/ngProxy4.js | 4 +- .../nodeNextModuleKindCaching1.js | 24 +- .../nodeNextPathCompletions.js | 4 +- .../nonJsDeclarationFilePathCompletions.js | 4 +- .../tsserver/fourslashServer/occurrences01.js | 2 +- .../tsserver/fourslashServer/occurrences02.js | 2 +- .../tsserver/fourslashServer/openFile.js | 2 +- .../fourslashServer/openFileWithSyntaxKind.js | 4 +- .../pasteEdits_blankTargetFile.js | 2 +- .../pasteEdits_existingImports1.js | 2 +- .../pasteEdits_existingImports2.js | 2 +- .../pasteEdits_knownSourceFile.js | 2 +- .../pasteEdits_multiplePastes1.js | 2 +- .../pasteEdits_multiplePastes2.js | 2 +- .../pasteEdits_multiplePastes3.js | 2 +- .../pasteEdits_multiplePastes4.js | 2 +- .../pasteEdits_pasteComments.js | 2 +- .../pasteEdits_pasteIntoSameFile.js | 2 +- .../pasteEdits_revertUpdatedFile.js | 2 +- .../pasteEdits_unknownSourceFile.js | 2 +- .../tsserver/fourslashServer/projectInfo01.js | 12 +- .../tsserver/fourslashServer/projectInfo02.js | 2 +- .../projectWithNonExistentFiles.js | 2 +- .../tsserver/fourslashServer/quickinfo01.js | 2 +- .../fourslashServer/quickinfoWrongComment.js | 2 +- .../fourslashServer/referenceToEmptyObject.js | 2 +- .../tsserver/fourslashServer/references01.js | 6 +- .../referencesInConfiguredProject.js | 2 +- .../fourslashServer/referencesInEmptyFile.js | 2 +- ...ferencesInEmptyFileWithMultipleProjects.js | 6 +- ...nStringLiteralValueWithMultipleProjects.js | 6 +- ...eferencesToNonPropertyNameStringLiteral.js | 2 +- .../referencesToStringLiteralValue.js | 2 +- .../tsserver/fourslashServer/rename01.js | 2 +- .../renameInConfiguredProject.js | 2 +- .../fourslashServer/renameNamedImport.js | 6 +- .../fourslashServer/renameNamespaceImport.js | 6 +- .../semanticClassificationJs1.js | 2 +- .../fourslashServer/signatureHelp01.js | 2 +- .../signatureHelpJSDocCallbackTag.js | 2 +- .../tripleSlashReferenceResolutionMode.js | 4 +- .../tsconfigComputedPropertyError.js | 4 +- .../fourslashServer/tsxIncrementalServer.js | 2 +- .../fourslashServer/typeReferenceOnServer.js | 2 +- .../fourslashServer/typedefinition01.js | 2 +- ...rks-with-file-moved-to-inferred-project.js | 4 +- .../works-with-multiple-projects.js | 4 +- .../array-destructuring-declaration.js | 2 +- .../const-variable-declaration.js | 2 +- .../nested-object-declaration.js | 2 +- ...nces-that-renames-destructured-property.js | 2 +- .../object-destructuring-declaration.js | 2 +- .../should-get-file-references.js | 2 +- ...ould-skip-lineText-from-file-references.js | 2 +- ...en-moving-non-jsx-content-from-jsx-file.js | 2 +- ...en-moving-non-tsx-content-from-tsx-file.js | 2 +- .../skips-lib.d.ts-files.js | 2 +- ...ggests-only-.js-file-for-a-.js-filepath.js | 2 +- ...ggests-only-.ts-file-for-a-.ts-filepath.js | 2 +- ...excluding-node_modules-within-a-project.js | 2 +- .../does-not-issue-errors-on-jsdoc-in-TS.js | 26 +- .../does-not-issue-errors-on-jsdoc-in-TS2.js | 26 +- .../create-inferred-project.js | 2 +- ...-project-created-while-opening-the-file.js | 10 +- ...project-if-useOneInferredProject-is-set.js | 32 +- ...ting-inferred-project-has-no-root-files.js | 4 +- ...Open-request-does-not-corrupt-documents.js | 2 +- ...-string-for-a-working-link-in-a-comment.js | 2 +- ...y-parts-for-a-working-link-in-a-comment.js | 2 +- ...-string-for-a-working-link-in-a-comment.js | 2 +- ...y-parts-for-a-working-link-in-a-comment.js | 2 +- ...-string-for-a-working-link-in-a-comment.js | 2 +- ...de-a-string-for-a-working-link-in-a-tag.js | 2 +- ...y-parts-for-a-working-link-in-a-comment.js | 2 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 2 +- ...-string-for-a-working-link-in-a-comment.js | 2 +- ...de-a-string-for-a-working-link-in-a-tag.js | 2 +- ...-a-span-for-a-working-link-in-a-comment.js | 2 +- ...plus-a-span-for-a-working-link-in-a-tag.js | 2 +- ...-string-for-a-working-link-in-a-comment.js | 2 +- ...y-parts-for-a-working-link-in-a-comment.js | 2 +- ...-string-for-a-working-link-in-a-comment.js | 2 +- ...y-parts-for-a-working-link-in-a-comment.js | 2 +- ...ame-file-under-differing-paths-settings.js | 4 +- ...orrectly-on-case-sensitive-file-systems.js | 2 +- .../with-config-with-redirection.js | 4 +- .../tsserver/libraryResolution/with-config.js | 4 +- ...when-referencing-file-from-another-file.js | 2 +- ...-js-root-files-are-removed-from-project.js | 4 +- ...metadata-when-the-command-returns-array.js | 2 +- ...etadata-when-the-command-returns-object.js | 2 +- .../returns-undefined-correctly.js | 2 +- .../moduleResolution/alternateResult.js | 12 +- ...en-package-json-with-type-module-exists.js | 6 +- .../package-json-file-is-edited.js | 6 +- .../using-referenced-project-built.js | 22 +- .../using-referenced-project.js | 8 +- .../caches-importability-within-a-file.js | 2 +- .../caches-module-specifiers-within-a-file.js | 2 +- ...date-the-cache-when-new-files-are-added.js | 2 +- ...n-in-contained-node_modules-directories.js | 2 +- ...he-cache-when-local-packageJson-changes.js | 2 +- ...-when-module-resolution-settings-change.js | 4 +- ...ache-when-symlinks-are-added-or-removed.js | 2 +- ...-the-cache-when-user-preferences-change.js | 2 +- ...ate-symbols-when-searching-all-projects.js | 4 +- .../navTo/should-de-duplicate-symbols.js | 4 +- .../navTo/should-not-include-type-symbols.js | 2 +- .../navTo/should-work-with-Deprecated.js | 2 +- .../openfile/can-open-same-file-again.js | 2 +- .../different-content-refreshes-sourceFile.js | 2 +- .../openfile/does-not-refresh-sourceFile.js | 2 +- ...ot-refresh-sourceFile-if-contents-match.js | 2 +- ...ile-and-then-close-refreshes-sourceFile.js | 2 +- ...ot-is-used-with-case-insensitive-system.js | 2 +- ...root-is-used-with-case-sensitive-system.js | 4 +- ...ject-even-if-project-refresh-is-pending.js | 4 +- ...-directives,-they-are-handled-correcrly.js | 2 +- .../files-are-added-to-inferred-project.js | 4 +- ...ternal-module-name-resolution-is-reused.js | 6 +- ...oImportProvider-or-handle-package-jsons.js | 2 +- ...-include-auto-type-reference-directives.js | 2 +- ...de-referenced-files-from-unopened-files.js | 2 +- ...t-go-to-definition-on-module-specifiers.js | 2 +- ...-diagnostics-are-returned-with-no-error.js | 2 +- .../throws-unsupported-commands.js | 2 +- .../tsserver/pasteEdits/adds-paste-edits.js | 2 +- ...-external-files-with-config-file-reload.js | 2 +- ...on-ts-extensions-with-wildcard-matching.js | 4 +- ...LS-to-get-program-and-update-is-pending.js | 4 +- ...criptKind-changes-for-the-external-file.js | 2 +- .../pluginsAsync/adds-external-files.js | 2 +- .../plugins-are-not-loaded-immediately.js | 2 +- ...er-even-if-imports-resolve-out-of-order.js | 2 +- ...ect-is-closed-before-plugins-are-loaded.js | 6 +- ...ferred-closed-before-plugins-are-loaded.js | 2 +- ...sends-projectsUpdatedInBackground-event.js | 2 +- ...-generated-when-the-config-file-changes.js | 2 +- ...when-the-config-file-doesnt-have-errors.js | 2 +- ...nerated-when-the-config-file-has-errors.js | 2 +- ...-file-opened-and-config-file-has-errors.js | 6 +- ...le-opened-and-doesnt-contain-any-errors.js | 6 +- ...rs-but-suppressDiagnosticEvents-is-true.js | 2 +- ...s-contains-the-project-reference-errors.js | 2 +- ...ts---diagnostics-for-corrupted-config-1.js | 4 +- ...ts---diagnostics-for-corrupted-config-2.js | 4 +- ...rojects---diagnostics-for-missing-files.js | 4 +- ...-same-ambient-module-and-is-also-module.js | 2 +- ...iagnostics-after-noUnusedLabels-changes.js | 4 +- .../document-is-not-contained-in-project.js | 2 +- ...project---diagnostics-for-missing-files.js | 6 +- .../projectErrors/file-rename-on-wsl2.js | 8 +- ...project-structure-and-reports-no-errors.js | 4 +- .../projectErrors/for-external-project.js | 2 +- .../projectErrors/for-inferred-project.js | 2 +- ...-when-timeout-occurs-after-installation.js | 4 +- ...n-timeout-occurs-inbetween-installation.js | 4 +- ...pened-right-after-closing-the-root-file.js | 8 +- ...hen-json-is-root-file-found-by-tsconfig.js | 2 +- ...json-is-not-root-file-found-by-tsconfig.js | 2 +- ...esnt-exist-on-disk-yet-with-projectRoot.js | 2 +- ...t-exist-on-disk-yet-without-projectRoot.js | 2 +- .../projectErrors/when-options-change.js | 2 +- ...-global-error-gerErr-with-sync-commands.js | 2 +- ...or-returns-includes-global-error-getErr.js | 2 +- ...-includes-global-error-geterrForProject.js | 2 +- ...-as-project-build-with-external-project.js | 14 +- ...-on-dependency-and-change-to-dependency.js | 4 +- .../save-on-dependency-and-change-to-usage.js | 4 +- ...pendency-and-local-change-to-dependency.js | 4 +- ...on-dependency-and-local-change-to-usage.js | 4 +- ...y-with-project-and-change-to-dependency.js | 4 +- ...ndency-with-project-and-change-to-usage.js | 4 +- ...-project-and-local-change-to-dependency.js | 4 +- ...-with-project-and-local-change-to-usage.js | 4 +- .../save-on-dependency-with-project.js | 4 +- ...-usage-project-and-change-to-dependency.js | 4 +- ...-with-usage-project-and-change-to-usage.js | 4 +- ...-project-and-local-change-to-dependency.js | 4 +- ...usage-project-and-local-change-to-usage.js | 4 +- .../save-on-dependency-with-usage-project.js | 4 +- .../save-on-dependency.js | 4 +- .../save-on-usage-and-change-to-dependency.js | 4 +- .../save-on-usage-and-change-to-usage.js | 4 +- ...nd-local-change-to-dependency-with-file.js | 4 +- ...on-usage-and-local-change-to-dependency.js | 4 +- ...-and-local-change-to-usage-with-project.js | 4 +- ...save-on-usage-and-local-change-to-usage.js | 4 +- ...e-with-project-and-change-to-dependency.js | 4 +- ...-usage-with-project-and-change-to-usage.js | 4 +- .../save-on-usage-with-project.js | 4 +- .../save-on-usage.js | 4 +- ...-on-dependency-and-change-to-dependency.js | 2 +- ...-save-on-dependency-and-change-to-usage.js | 2 +- ...pendency-and-local-change-to-dependency.js | 2 +- ...on-dependency-and-local-change-to-usage.js | 2 +- ...y-with-project-and-change-to-dependency.js | 2 +- ...ndency-with-project-and-change-to-usage.js | 2 +- ...-project-and-local-change-to-dependency.js | 2 +- ...-with-project-and-local-change-to-usage.js | 2 +- ...pen-and-save-on-dependency-with-project.js | 2 +- ...ject-is-not-open-and-save-on-dependency.js | 2 +- ...save-on-usage-and-change-to-depenedency.js | 2 +- ...n-and-save-on-usage-and-change-to-usage.js | 2 +- ...on-usage-and-local-change-to-dependency.js | 2 +- ...save-on-usage-and-local-change-to-usage.js | 2 +- ...-with-project-and-change-to-depenedency.js | 2 +- ...-usage-with-project-and-change-to-usage.js | 2 +- ...-project-and-local-change-to-dependency.js | 2 +- ...-with-project-and-local-change-to-usage.js | 2 +- ...not-open-and-save-on-usage-with-project.js | 2 +- ...y-project-is-not-open-and-save-on-usage.js | 2 +- ...roject-are-different-from-usage-project.js | 2 +- ...t-is-not-open-gerErr-with-sync-commands.js | 2 +- ...n-dependency-project-is-not-open-getErr.js | 2 +- ...cy-project-is-not-open-geterrForProject.js | 2 +- ...-file-is-open-gerErr-with-sync-commands.js | 4 +- ...-when-the-depedency-file-is-open-getErr.js | 4 +- ...depedency-file-is-open-geterrForProject.js | 4 +- ...t-is-not-open-gerErr-with-sync-commands.js | 2 +- ...n-dependency-project-is-not-open-getErr.js | 2 +- ...cy-project-is-not-open-geterrForProject.js | 2 +- ...-file-is-open-gerErr-with-sync-commands.js | 4 +- ...-when-the-depedency-file-is-open-getErr.js | 4 +- ...depedency-file-is-open-geterrForProject.js | 4 +- .../ancestor-and-project-ref-management.js | 24 +- ...disableSourceOfProjectReferenceRedirect.js | 14 +- ...port-with-referenced-project-when-built.js | 14 +- .../auto-import-with-referenced-project.js | 2 +- ...ssfully-find-references-with-out-option.js | 16 +- ...indirect-project-but-not-in-another-one.js | 12 +- ...dProjectLoad-is-set-in-indirect-project.js | 12 +- ...-if-disableReferencedProjectLoad-is-set.js | 12 +- ...oes-not-error-on-container-only-project.js | 16 +- ...-are-disabled-and-a-decl-map-is-missing.js | 4 +- ...-are-disabled-and-a-decl-map-is-present.js | 4 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 4 +- ...s-are-enabled-and-a-decl-map-is-present.js | 4 +- ...-are-disabled-and-a-decl-map-is-missing.js | 4 +- ...-are-disabled-and-a-decl-map-is-present.js | 4 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 4 +- ...s-are-enabled-and-a-decl-map-is-present.js | 4 +- ...-are-disabled-and-a-decl-map-is-missing.js | 2 +- ...-are-disabled-and-a-decl-map-is-present.js | 2 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 2 +- ...s-are-enabled-and-a-decl-map-is-present.js | 2 +- ...-are-disabled-and-a-decl-map-is-missing.js | 2 +- ...-are-disabled-and-a-decl-map-is-present.js | 4 +- ...s-are-enabled-and-a-decl-map-is-missing.js | 4 +- ...s-are-enabled-and-a-decl-map-is-present.js | 4 +- .../sibling-projects.js | 6 +- ...ding-references-in-overlapping-projects.js | 10 +- ...solution-is-built-with-preserveSymlinks.js | 16 +- ...-and-has-index.ts-and-solution-is-built.js | 16 +- ...tion-is-not-built-with-preserveSymlinks.js | 2 +- ...-has-index.ts-and-solution-is-not-built.js | 2 +- ...solution-is-built-with-preserveSymlinks.js | 16 +- ...th-scoped-package-and-solution-is-built.js | 16 +- ...tion-is-not-built-with-preserveSymlinks.js | 2 +- ...coped-package-and-solution-is-not-built.js | 2 +- ...solution-is-built-with-preserveSymlinks.js | 16 +- ...le-from-subFolder-and-solution-is-built.js | 16 +- ...tion-is-not-built-with-preserveSymlinks.js | 2 +- ...rom-subFolder-and-solution-is-not-built.js | 2 +- ...solution-is-built-with-preserveSymlinks.js | 16 +- ...th-scoped-package-and-solution-is-built.js | 16 +- ...tion-is-not-built-with-preserveSymlinks.js | 2 +- ...coped-package-and-solution-is-not-built.js | 2 +- ...disableSourceOfProjectReferenceRedirect.js | 10 +- ...ect-when-referenced-project-is-not-open.js | 6 +- ...disableSourceOfProjectReferenceRedirect.js | 16 +- ...project-when-referenced-project-is-open.js | 12 +- ...ject-is-directly-referenced-by-solution.js | 26 +- ...ct-is-indirectly-referenced-by-solution.js | 38 +-- ...erenced-project-with-preserveConstEnums.js | 2 +- ...om-composite-and-non-composite-projects.js | 4 +- ...nced-project-and-using-declaration-maps.js | 18 +- ...ot-file-is-file-from-referenced-project.js | 18 +- ...indirect-project-but-not-in-another-one.js | 20 +- ...dProjectLoad-is-set-in-indirect-project.js | 20 +- ...-if-disableReferencedProjectLoad-is-set.js | 12 +- ...ces-open-file-through-project-reference.js | 34 +- ...ct-is-indirectly-referenced-by-solution.js | 50 +-- ...nction-as-object-literal-property-types.js | 6 +- ...row-function-as-object-literal-property.js | 4 +- ...ss-when-using-arrow-function-assignment.js | 6 +- ...s-when-using-method-of-class-expression.js | 6 +- ...ness-when-using-object-literal-property.js | 6 +- ...-composite-with-file-open-before-revert.js | 10 +- ...nfig-tree-found-appConfig-not-composite.js | 8 +- ...fig-change-with-file-open-before-revert.js | 8 +- ...rst-config-tree-found-demoConfig-change.js | 8 +- ...config-tree-found-finds-default-project.js | 10 +- ...first-config-tree-found-reload-projects.js | 8 +- ...fig-delete-with-file-open-before-revert.js | 10 +- ...config-tree-found-solutionConfig-delete.js | 8 +- ...ce-to-demo-with-file-open-before-revert.js | 10 +- ...olutionConfig-without-reference-to-demo.js | 8 +- ...cts-are-open-and-one-project-references.js | 16 +- ...ts-have-allowJs-and-emitDeclarationOnly.js | 2 +- ...ng-solution-and-siblings-are-not-loaded.js | 4 +- .../with-dts-file-next-to-ts-file.js | 6 +- ...ts-change-as-rename-action-before-write.js | 14 +- ...endency-dts-change-as-rename-no-timeout.js | 14 +- ...s-change-as-rename-timeout-after-delete.js | 14 +- ...ts-change-as-rename-timeout-after-write.js | 14 +- ...dts-changes-with-timeout-before-request.js | 14 +- .../dependency-dts-changes.js | 14 +- .../dependency-dts-created.js | 16 +- .../dependency-dts-deleted.js | 16 +- .../dependency-dts-not-present.js | 16 +- ...s-rewrite-as-rename-action-before-write.js | 14 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 14 +- ...-rewrite-as-rename-timeout-after-delete.js | 14 +- ...s-rewrite-as-rename-timeout-after-write.js | 14 +- ...ap-change-as-rename-action-before-write.js | 14 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 14 +- ...p-change-as-rename-timeout-after-delete.js | 14 +- ...ap-change-as-rename-timeout-after-write.js | 14 +- ...Map-changes-with-timeout-before-request.js | 14 +- .../dependency-dtsMap-changes.js | 14 +- .../dependency-dtsMap-created.js | 16 +- .../dependency-dtsMap-deleted.js | 16 +- .../dependency-dtsMap-not-present.js | 16 +- ...p-rewrite-as-rename-action-before-write.js | 14 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 14 +- ...-rewrite-as-rename-timeout-after-delete.js | 14 +- ...p-rewrite-as-rename-timeout-after-write.js | 14 +- .../configHasNoReference/rename-locations.js | 16 +- ...ile-changes-with-timeout-before-request.js | 14 +- .../usage-file-changes.js | 14 +- ...ts-change-as-rename-action-before-write.js | 14 +- ...endency-dts-change-as-rename-no-timeout.js | 14 +- ...s-change-as-rename-timeout-after-delete.js | 14 +- ...ts-change-as-rename-timeout-after-write.js | 14 +- ...dts-changes-with-timeout-before-request.js | 14 +- .../dependency-dts-changes.js | 14 +- .../dependency-dts-created.js | 16 +- .../dependency-dts-deleted.js | 16 +- .../dependency-dts-not-present.js | 16 +- ...s-rewrite-as-rename-action-before-write.js | 14 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 14 +- ...-rewrite-as-rename-timeout-after-delete.js | 14 +- ...s-rewrite-as-rename-timeout-after-write.js | 14 +- ...ap-change-as-rename-action-before-write.js | 14 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 14 +- ...p-change-as-rename-timeout-after-delete.js | 14 +- ...ap-change-as-rename-timeout-after-write.js | 14 +- ...Map-changes-with-timeout-before-request.js | 14 +- .../dependency-dtsMap-changes.js | 14 +- .../dependency-dtsMap-created.js | 16 +- .../dependency-dtsMap-deleted.js | 16 +- .../dependency-dtsMap-not-present.js | 16 +- ...p-rewrite-as-rename-action-before-write.js | 14 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 14 +- ...-rewrite-as-rename-timeout-after-delete.js | 14 +- ...p-rewrite-as-rename-timeout-after-write.js | 14 +- ...rce-changes-with-timeout-before-request.js | 14 +- .../dependency-source-changes.js | 14 +- .../configWithReference/rename-locations.js | 16 +- ...ile-changes-with-timeout-before-request.js | 14 +- .../configWithReference/usage-file-changes.js | 14 +- .../when-projects-are-not-built.js | 6 +- ...ts-change-as-rename-action-before-write.js | 14 +- ...endency-dts-change-as-rename-no-timeout.js | 14 +- ...s-change-as-rename-timeout-after-delete.js | 14 +- ...ts-change-as-rename-timeout-after-write.js | 14 +- ...dts-changes-with-timeout-before-request.js | 14 +- .../dependency-dts-changes.js | 14 +- .../dependency-dts-created.js | 16 +- .../dependency-dts-deleted.js | 16 +- .../dependency-dts-not-present.js | 16 +- ...s-rewrite-as-rename-action-before-write.js | 14 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 14 +- ...-rewrite-as-rename-timeout-after-delete.js | 14 +- ...s-rewrite-as-rename-timeout-after-write.js | 14 +- ...ap-change-as-rename-action-before-write.js | 14 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 14 +- ...p-change-as-rename-timeout-after-delete.js | 14 +- ...ap-change-as-rename-timeout-after-write.js | 14 +- ...Map-changes-with-timeout-before-request.js | 14 +- .../dependency-dtsMap-changes.js | 14 +- .../dependency-dtsMap-created.js | 16 +- .../dependency-dtsMap-deleted.js | 16 +- .../dependency-dtsMap-not-present.js | 16 +- ...p-rewrite-as-rename-action-before-write.js | 14 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 14 +- ...-rewrite-as-rename-timeout-after-delete.js | 14 +- ...p-rewrite-as-rename-timeout-after-write.js | 14 +- .../disabledSourceRef/rename-locations.js | 16 +- ...ile-changes-with-timeout-before-request.js | 14 +- .../disabledSourceRef/usage-file-changes.js | 14 +- ...ts-change-as-rename-action-before-write.js | 20 +- ...endency-dts-change-as-rename-no-timeout.js | 18 +- ...s-change-as-rename-timeout-after-delete.js | 20 +- ...ts-change-as-rename-timeout-after-write.js | 18 +- ...dts-changes-with-timeout-before-request.js | 16 +- .../dependency-dts-changes.js | 16 +- .../dependency-dts-created.js | 22 +- .../dependency-dts-deleted.js | 22 +- .../dependency-dts-not-present.js | 20 +- ...s-rewrite-as-rename-action-before-write.js | 20 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 18 +- ...-rewrite-as-rename-timeout-after-delete.js | 20 +- ...s-rewrite-as-rename-timeout-after-write.js | 18 +- ...ap-change-as-rename-action-before-write.js | 16 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 16 +- ...p-change-as-rename-timeout-after-delete.js | 16 +- ...ap-change-as-rename-timeout-after-write.js | 16 +- ...Map-changes-with-timeout-before-request.js | 16 +- .../dependency-dtsMap-changes.js | 16 +- .../dependency-dtsMap-created.js | 20 +- .../dependency-dtsMap-deleted.js | 20 +- .../dependency-dtsMap-not-present.js | 20 +- ...p-rewrite-as-rename-action-before-write.js | 16 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 16 +- ...-rewrite-as-rename-timeout-after-delete.js | 16 +- ...p-rewrite-as-rename-timeout-after-write.js | 16 +- ...name-locations-and-deleting-config-file.js | 20 +- .../goToDef-and-rename-locations.js | 20 +- ...ile-changes-with-timeout-before-request.js | 16 +- .../usage-file-changes.js | 16 +- ...ts-change-as-rename-action-before-write.js | 16 +- ...endency-dts-change-as-rename-no-timeout.js | 16 +- ...s-change-as-rename-timeout-after-delete.js | 16 +- ...ts-change-as-rename-timeout-after-write.js | 16 +- ...dts-changes-with-timeout-before-request.js | 16 +- .../dependency-dts-changes.js | 16 +- .../dependency-dts-created.js | 20 +- .../dependency-dts-deleted.js | 20 +- .../dependency-dts-not-present.js | 20 +- ...s-rewrite-as-rename-action-before-write.js | 16 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 16 +- ...-rewrite-as-rename-timeout-after-delete.js | 16 +- ...s-rewrite-as-rename-timeout-after-write.js | 16 +- ...ap-change-as-rename-action-before-write.js | 16 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 16 +- ...p-change-as-rename-timeout-after-delete.js | 16 +- ...ap-change-as-rename-timeout-after-write.js | 16 +- ...Map-changes-with-timeout-before-request.js | 16 +- .../dependency-dtsMap-changes.js | 16 +- .../dependency-dtsMap-created.js | 20 +- .../dependency-dtsMap-deleted.js | 20 +- .../dependency-dtsMap-not-present.js | 20 +- ...p-rewrite-as-rename-action-before-write.js | 16 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 16 +- ...-rewrite-as-rename-timeout-after-delete.js | 16 +- ...p-rewrite-as-rename-timeout-after-write.js | 16 +- ...rce-changes-with-timeout-before-request.js | 16 +- .../dependency-source-changes.js | 16 +- ...name-locations-and-deleting-config-file.js | 30 +- .../goToDef-and-rename-locations.js | 20 +- ...ile-changes-with-timeout-before-request.js | 16 +- .../configWithReference/usage-file-changes.js | 16 +- .../when-projects-are-not-built.js | 10 +- ...ts-change-as-rename-action-before-write.js | 20 +- ...endency-dts-change-as-rename-no-timeout.js | 18 +- ...s-change-as-rename-timeout-after-delete.js | 20 +- ...ts-change-as-rename-timeout-after-write.js | 18 +- ...dts-changes-with-timeout-before-request.js | 16 +- .../dependency-dts-changes.js | 16 +- .../dependency-dts-created.js | 22 +- .../dependency-dts-deleted.js | 22 +- .../dependency-dts-not-present.js | 20 +- ...s-rewrite-as-rename-action-before-write.js | 20 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 18 +- ...-rewrite-as-rename-timeout-after-delete.js | 20 +- ...s-rewrite-as-rename-timeout-after-write.js | 18 +- ...ap-change-as-rename-action-before-write.js | 16 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 16 +- ...p-change-as-rename-timeout-after-delete.js | 16 +- ...ap-change-as-rename-timeout-after-write.js | 16 +- ...Map-changes-with-timeout-before-request.js | 16 +- .../dependency-dtsMap-changes.js | 16 +- .../dependency-dtsMap-created.js | 20 +- .../dependency-dtsMap-deleted.js | 20 +- .../dependency-dtsMap-not-present.js | 20 +- ...p-rewrite-as-rename-action-before-write.js | 16 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 16 +- ...-rewrite-as-rename-timeout-after-delete.js | 16 +- ...p-rewrite-as-rename-timeout-after-write.js | 16 +- ...name-locations-and-deleting-config-file.js | 20 +- .../goToDef-and-rename-locations.js | 20 +- ...ile-changes-with-timeout-before-request.js | 16 +- .../disabledSourceRef/usage-file-changes.js | 16 +- .../can-go-to-definition-correctly.js | 16 +- ...ts-change-as-rename-action-before-write.js | 18 +- ...endency-dts-change-as-rename-no-timeout.js | 16 +- ...s-change-as-rename-timeout-after-delete.js | 18 +- ...ts-change-as-rename-timeout-after-write.js | 16 +- ...dts-changes-with-timeout-before-request.js | 14 +- .../dependency-dts-changes.js | 14 +- .../dependency-dts-created.js | 18 +- .../dependency-dts-deleted.js | 18 +- .../dependency-dts-not-present.js | 16 +- ...s-rewrite-as-rename-action-before-write.js | 18 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 16 +- ...-rewrite-as-rename-timeout-after-delete.js | 18 +- ...s-rewrite-as-rename-timeout-after-write.js | 16 +- ...ap-change-as-rename-action-before-write.js | 14 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 14 +- ...p-change-as-rename-timeout-after-delete.js | 14 +- ...ap-change-as-rename-timeout-after-write.js | 14 +- ...Map-changes-with-timeout-before-request.js | 14 +- .../dependency-dtsMap-changes.js | 14 +- .../dependency-dtsMap-created.js | 16 +- .../dependency-dtsMap-deleted.js | 16 +- .../dependency-dtsMap-not-present.js | 16 +- ...p-rewrite-as-rename-action-before-write.js | 14 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 14 +- ...-rewrite-as-rename-timeout-after-delete.js | 14 +- ...p-rewrite-as-rename-timeout-after-write.js | 14 +- ...ile-changes-with-timeout-before-request.js | 14 +- .../usage-file-changes.js | 14 +- .../can-go-to-definition-correctly.js | 16 +- ...ts-change-as-rename-action-before-write.js | 14 +- ...endency-dts-change-as-rename-no-timeout.js | 14 +- ...s-change-as-rename-timeout-after-delete.js | 14 +- ...ts-change-as-rename-timeout-after-write.js | 14 +- ...dts-changes-with-timeout-before-request.js | 14 +- .../dependency-dts-changes.js | 14 +- .../dependency-dts-created.js | 16 +- .../dependency-dts-deleted.js | 16 +- .../dependency-dts-not-present.js | 16 +- ...s-rewrite-as-rename-action-before-write.js | 14 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 14 +- ...-rewrite-as-rename-timeout-after-delete.js | 14 +- ...s-rewrite-as-rename-timeout-after-write.js | 14 +- ...ap-change-as-rename-action-before-write.js | 14 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 14 +- ...p-change-as-rename-timeout-after-delete.js | 14 +- ...ap-change-as-rename-timeout-after-write.js | 14 +- ...Map-changes-with-timeout-before-request.js | 14 +- .../dependency-dtsMap-changes.js | 14 +- .../dependency-dtsMap-created.js | 16 +- .../dependency-dtsMap-deleted.js | 16 +- .../dependency-dtsMap-not-present.js | 16 +- ...p-rewrite-as-rename-action-before-write.js | 14 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 14 +- ...-rewrite-as-rename-timeout-after-delete.js | 14 +- ...p-rewrite-as-rename-timeout-after-write.js | 14 +- ...rce-changes-with-timeout-before-request.js | 14 +- .../dependency-source-changes.js | 14 +- ...ile-changes-with-timeout-before-request.js | 14 +- .../configWithReference/usage-file-changes.js | 14 +- .../when-projects-are-not-built.js | 6 +- .../can-go-to-definition-correctly.js | 16 +- ...ts-change-as-rename-action-before-write.js | 18 +- ...endency-dts-change-as-rename-no-timeout.js | 16 +- ...s-change-as-rename-timeout-after-delete.js | 18 +- ...ts-change-as-rename-timeout-after-write.js | 16 +- ...dts-changes-with-timeout-before-request.js | 14 +- .../dependency-dts-changes.js | 14 +- .../dependency-dts-created.js | 18 +- .../dependency-dts-deleted.js | 18 +- .../dependency-dts-not-present.js | 16 +- ...s-rewrite-as-rename-action-before-write.js | 18 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 16 +- ...-rewrite-as-rename-timeout-after-delete.js | 18 +- ...s-rewrite-as-rename-timeout-after-write.js | 16 +- ...ap-change-as-rename-action-before-write.js | 14 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 14 +- ...p-change-as-rename-timeout-after-delete.js | 14 +- ...ap-change-as-rename-timeout-after-write.js | 14 +- ...Map-changes-with-timeout-before-request.js | 14 +- .../dependency-dtsMap-changes.js | 14 +- .../dependency-dtsMap-created.js | 16 +- .../dependency-dtsMap-deleted.js | 16 +- .../dependency-dtsMap-not-present.js | 16 +- ...p-rewrite-as-rename-action-before-write.js | 14 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 14 +- ...-rewrite-as-rename-timeout-after-delete.js | 14 +- ...p-rewrite-as-rename-timeout-after-write.js | 14 +- ...ile-changes-with-timeout-before-request.js | 14 +- .../disabledSourceRef/usage-file-changes.js | 14 +- ...-referenced-project-and-shared-is-first.js | 4 +- ...en-root-file-is-from-referenced-project.js | 4 +- ...projects-at-opened-and-closed-correctly.js | 4 +- ...-are-handled-correctly-on-watch-trigger.js | 4 +- .../Properly-handle-Windows-style-outDir.js | 2 +- .../projects/assert-when-removing-project.js | 6 +- .../clear-mixed-content-file-after-closing.js | 2 +- .../projects/config-file-is-deleted.js | 2 +- ...zyConfiguredProjectsFromExternalProject.js | 2 +- .../deferred-files-in-the-project-context.js | 2 +- ...folders-for-default-configured-projects.js | 4 +- ...configured-project-that-will-be-removed.js | 8 +- ...ith-typeAcquisition-when-safe-type-list.js | 2 +- ...-and-closed-affecting-multiple-projects.js | 8 +- ...getting-project-from-orphan-script-info.js | 2 +- ...directory-watch-invoke-on-file-creation.js | 10 +- ...issing-files-added-with-tripleslash-ref.js | 4 +- ...configured-project-that-will-be-removed.js | 8 +- .../loading-files-with-correct-priority.js | 4 +- ...irectory-watch-invoke-on-open-file-save.js | 2 +- ...tsconfig-script-block-diagnostic-errors.js | 10 +- ...configured-project-that-will-be-removed.js | 8 +- .../reload-regular-file-after-closing.js | 2 +- ...Reload-but-has-svc-for-previous-version.js | 2 +- ...iles-excluded-from-a-configured-project.js | 6 +- ...t-provides-redirect-info-when-requested.js | 4 +- ...updates-to-redirect-info-when-requested.js | 6 +- ...resolved-and-redirect-info-is-requested.js | 2 +- ...e-configuration-file-cannot-be-resolved.js | 2 +- .../projects/tsconfig-script-block-support.js | 4 +- .../projectsWithReferences/sample-project.js | 2 +- ...es-with-deleting-referenced-config-file.js | 6 +- ...ing-transitively-referenced-config-file.js | 2 +- ...ces-with-edit-in-referenced-config-file.js | 6 +- ...ive-references-with-edit-on-config-file.js | 6 +- ...ansitive-references-with-non-local-edit.js | 2 +- ...es-with-deleting-referenced-config-file.js | 6 +- ...ing-transitively-referenced-config-file.js | 2 +- ...les-with-edit-in-referenced-config-file.js | 6 +- ...-without-files-with-edit-on-config-file.js | 6 +- ...ences-without-files-with-non-local-edit.js | 2 +- ...ndles-canonicalization-of-tsconfig-path.js | 2 +- ...es-moving-statement-to-an-existing-file.js | 2 +- ...-that-is-not-included-in-the-TS-project.js | 2 +- ...dles-moving-statements-to-a-non-TS-file.js | 2 +- .../handles-text-changes-in-tsconfig.js | 2 +- ...cript-info-doesnt-have-any-project-open.js | 4 +- .../reloadProjects/configured-project.js | 8 +- .../external-project-with-config-file.js | 8 +- .../reloadProjects/external-project.js | 8 +- .../reloadProjects/inferred-project.js | 8 +- .../with-symlinks-and-case-difference.js | 4 +- ...unnecessary-lookup-invalidation-on-save.js | 2 +- ...le-name-from-files-in-different-folders.js | 2 +- ...e-module-name-from-files-in-same-folder.js | 2 +- ...ative-module-name-from-inferred-project.js | 2 +- .../not-sharing-across-references.js | 2 +- .../npm-install-@types-works.js | 4 +- ...le-name-from-files-in-different-folders.js | 2 +- ...e-module-name-from-files-in-same-folder.js | 2 +- ...tore-the-states-for-configured-projects.js | 2 +- .../sharing-across-references.js | 2 +- ...ld-property-handle-missing-config-files.js | 2 +- ...-from-config-file-path-if-config-exists.js | 2 +- ...exists-but-does-not-specifies-typeRoots.js | 2 +- .../resolutionCache/when-resolution-fails.js | 8 +- .../when-resolves-to-ambient-module.js | 8 +- ...wild-card-directories-in-config-project.js | 2 +- .../closed-script-infos.js | 2 +- ...ectly-when-typings-are-added-or-removed.js | 4 +- ...r-in-configured-js-project-with-tscheck.js | 2 +- ...rror-in-configured-project-with-tscheck.js | 2 +- ...eclaration-files-with-skipLibCheck=true.js | 2 +- .../works-for-simple-JavaScript.js | 2 +- ...tion-when-project-compiles-from-sources.js | 4 +- ...s-in-typings-folder-and-then-recompiles.js | 4 +- ...mpiles-after-deleting-generated-folders.js | 6 +- ...ping-when-project-compiles-from-sources.js | 4 +- ...s-in-typings-folder-and-then-recompiles.js | 4 +- ...mpiles-after-deleting-generated-folders.js | 6 +- ...-style-sibling-packages-symlinked-Linux.js | 12 +- ...packages-symlinked-package1-built-Linux.js | 10 +- ...bling-packages-symlinked-package1-built.js | 10 +- ...norepo-style-sibling-packages-symlinked.js | 12 +- ...name-in-common-file-renames-all-project.js | 8 +- ...ences-resolution-after-program-creation.js | 4 +- ...emoved-and-added-with-different-content.js | 8 +- .../telemetry/counts-files-by-extension.js | 2 +- ...s-whether-language-service-was-disabled.js | 2 +- .../telemetry/does-not-expose-paths.js | 6 +- ...ven-for-project-with-ts-check-in-config.js | 2 +- .../telemetry/only-sends-an-event-once.js | 4 +- ...es,-include,-exclude,-and-compileOnSave.js | 2 +- .../sends-telemetry-for-file-sizes.js | 2 +- ...-telemetry-for-typeAcquisition-settings.js | 2 +- .../tsserver/tsserver/configDir-template.js | 2 +- .../tsserver/resolves-the-symlink-path.js | 2 +- .../prefer-typings-in-second-pass.js | 2 +- ...portDefault-exportDefault-importDefault.js | 2 +- ...OnlyNamedImport-namedExport-namedImport.js | 2 +- ...lyExportFrom-exportStarFrom-namedImport.js | 2 +- ...OnlyNamedImport-namedExport-namedImport.js | 2 +- ...spaceImport-exportDefault-importDefault.js | 2 +- ...mespaceImport-exportEquals-importEquals.js | 2 +- ...NamespaceImport-namedExport-namedImport.js | 2 +- ...ortFrom-exportNamespaceFrom-namedImport.js | 2 +- ...enceDirective-contains-UpperCasePackage.js | 4 +- ...s-relative-path-and-in-a-sibling-folder.js | 2 +- ...projects-discover-from-bower_components.js | 2 +- .../typingsInstaller/configured-projects.js | 2 +- .../typingsInstaller/discover-from-bower.js | 2 +- ...rom-node_modules-empty-types-has-import.js | 2 +- .../discover-from-node_modules-empty-types.js | 2 +- ...scover-from-node_modules-explicit-types.js | 2 +- .../discover-from-node_modules.js | 2 +- ...s-no-type-acquisition-with-enable-false.js | 2 +- ...ts-no-type-acquisition-with-js-ts-files.js | 2 +- .../external-projects-no-type-acquisition.js | 2 +- ...ith-disableFilenameBasedTypeAcquisition.js | 2 +- .../external-projects-type-acquisition.js | 2 +- .../local-module-should-not-be-picked-up.js | 4 +- .../typingsInstaller/multiple-projects.js | 8 +- .../typingsInstaller/scoped-name-discovery.js | 2 +- .../should-handle-node-core-modules.js | 6 +- .../throttle-delayed-run-install-requests.js | 4 +- .../throttle-delayed-typings-to-install.js | 2 +- ...n-install-requests-with-defer-refreshed.js | 4 +- ...requests-with-defer-while-queuing-again.js | 6 +- ...heduled-run-install-requests-with-defer.js | 4 +- ...install-requests-without-reaching-limit.js | 4 +- .../external-project-watch-options-errors.js | 2 +- ...ect-watch-options-in-host-configuration.js | 2 +- .../external-project-watch-options.js | 2 +- .../watchEnvironment/files-at-root.js | 2 +- .../files-at-windows-style-root.js | 2 +- .../watchEnvironment/files-not-at-root.js | 2 +- .../files-not-at-windows-style-root.js | 2 +- .../inferred-project-watch-options-errors.js | 2 +- ...ect-watch-options-in-host-configuration.js | 2 +- .../inferred-project-watch-options.js | 2 +- .../perVolumeCasing-and-new-file-addition.js | 4 +- .../project-with-ascii-file-names-with-i.js | 2 +- .../project-with-ascii-file-names.js | 2 +- .../project-with-unicode-file-names.js | 2 +- ...files-starting-with-dot-in-node_modules.js | 2 +- ...polling-when-file-is-added-to-subfolder.js | 4 +- ...rectory-when-file-is-added-to-subfolder.js | 4 +- ...tchFile-when-file-is-added-to-subfolder.js | 4 +- ...watching-files-with-network-style-paths.js | 10 +- ...ere-workspaces-folder-is-hosted-at-root.js | 6 +- ...en-watchFile-is-single-watcher-per-file.js | 2 +- ...excludeDirectories-option-in-configFile.js | 2 +- ...ludeDirectories-option-in-configuration.js | 2 +- ...ackPolling-option-as-host-configuration.js | 2 +- ...th-fallbackPolling-option-in-configFile.js | 2 +- ...hDirectory-option-as-host-configuration.js | 2 +- ...ith-watchDirectory-option-in-configFile.js | 2 +- ...-watchFile-option-as-host-configuration.js | 2 +- .../with-watchFile-option-in-configFile.js | 2 +- ...egularExpressions01(target=es5).errors.txt | 4 +- ...egularExpressions02(target=es5).errors.txt | 4 +- ...egularExpressions03(target=es5).errors.txt | 4 +- ...egularExpressions04(target=es5).errors.txt | 4 +- ...egularExpressions05(target=es5).errors.txt | 4 +- ...egularExpressions06(target=es5).errors.txt | 4 +- ...egularExpressions07(target=es5).errors.txt | 4 +- ...egularExpressions08(target=es5).errors.txt | 4 +- ...egularExpressions09(target=es5).errors.txt | 4 +- ...egularExpressions10(target=es5).errors.txt | 4 +- ...egularExpressions11(target=es5).errors.txt | 4 +- ...egularExpressions12(target=es5).errors.txt | 4 +- ...egularExpressions13(target=es5).errors.txt | 4 +- ...egularExpressions14(target=es5).errors.txt | 4 +- ...egularExpressions15(target=es5).errors.txt | 4 +- ...egularExpressions16(target=es5).errors.txt | 4 +- ...egularExpressions17(target=es5).errors.txt | 4 +- ...egularExpressions18(target=es5).errors.txt | 4 +- ...egularExpressions19(target=es5).errors.txt | 4 +- 1719 files changed, 10515 insertions(+), 10452 deletions(-) rename tests/baselines/reference/{callChainWithSuper(target=es6).js => callChainWithSuper(target=es2015).js} (100%) rename tests/baselines/reference/{emitHelpersWithLocalCollisions(module=es6).js => emitHelpersWithLocalCollisions(module=es2015).js} (100%) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 4a9918c9671e9..2dc4a3f449d2f 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -32,6 +32,7 @@ import { emptyArray, endsWith, ensureTrailingDirectorySeparator, + entriesToCaseInsensitiveMap, every, Expression, extend, @@ -130,7 +131,7 @@ export const compileOnSaveCommandLineOption: CommandLineOption = { defaultValueDescription: false, }; -const jsxOptionMap = new Map(Object.entries({ +const jsxOptionMap = entriesToCaseInsensitiveMap(Object.entries({ "preserve": JsxEmit.Preserve, "react-native": JsxEmit.ReactNative, "react": JsxEmit.React, @@ -142,7 +143,7 @@ const jsxOptionMap = new Map(Object.entries({ export const inverseJsxOptionMap = new Map(mapIterator(jsxOptionMap.entries(), ([key, value]: [string, JsxEmit]) => ["" + value, key] as const)); // NOTE: The order here is important to default lib ordering as entries will have the same -// order in the generated program (see `getDefaultLibPriority` in program.ts). This +// order in the generated program (see `getDefaultLibFilePriority` in program.ts). This // order also affects overload resolution when a type declared in one lib is // augmented in another lib. // NOTE: We must reevaluate the target for upcoming features when each successive TC39 edition is ratified in @@ -150,95 +151,97 @@ export const inverseJsxOptionMap = new Map(mapIterator(jsxOptionMap.entries(), ( // transformers/esnext.ts, commandLineParser.ts, and the contents of each lib/esnext.*.d.ts file. const libEntries: [string, string][] = [ // JavaScript only - ["es5", "lib.es5.d.ts"], - ["es6", "lib.es2015.d.ts"], - ["es2015", "lib.es2015.d.ts"], - ["es7", "lib.es2016.d.ts"], - ["es2016", "lib.es2016.d.ts"], - ["es2017", "lib.es2017.d.ts"], - ["es2018", "lib.es2018.d.ts"], - ["es2019", "lib.es2019.d.ts"], - ["es2020", "lib.es2020.d.ts"], - ["es2021", "lib.es2021.d.ts"], - ["es2022", "lib.es2022.d.ts"], - ["es2023", "lib.es2023.d.ts"], - ["esnext", "lib.esnext.d.ts"], + ["ES5", "lib.es5.d.ts"], + ["ES2015", "lib.es2015.d.ts"], + ["ES6", "lib.es2015.d.ts"], + ["ES2016", "lib.es2016.d.ts"], + ["ES7", "lib.es2016.d.ts"], + ["ES2017", "lib.es2017.d.ts"], + ["ES2018", "lib.es2018.d.ts"], + ["ES2019", "lib.es2019.d.ts"], + ["ES2020", "lib.es2020.d.ts"], + ["ES2021", "lib.es2021.d.ts"], + ["ES2022", "lib.es2022.d.ts"], + ["ES2023", "lib.es2023.d.ts"], + ["ESNext", "lib.esnext.d.ts"], // Host only - ["dom", "lib.dom.d.ts"], - ["dom.iterable", "lib.dom.iterable.d.ts"], - ["dom.asynciterable", "lib.dom.asynciterable.d.ts"], - ["webworker", "lib.webworker.d.ts"], - ["webworker.importscripts", "lib.webworker.importscripts.d.ts"], - ["webworker.iterable", "lib.webworker.iterable.d.ts"], - ["webworker.asynciterable", "lib.webworker.asynciterable.d.ts"], - ["scripthost", "lib.scripthost.d.ts"], + ["DOM", "lib.dom.d.ts"], + ["DOM.Iterable", "lib.dom.iterable.d.ts"], + ["DOM.AsyncIterable", "lib.dom.asynciterable.d.ts"], + ["WebWorker", "lib.webworker.d.ts"], + ["WebWorker.ImportScripts", "lib.webworker.importscripts.d.ts"], + ["WebWorker.Iterable", "lib.webworker.iterable.d.ts"], + ["WebWorker.AsyncIterable", "lib.webworker.asynciterable.d.ts"], + ["ScriptHost", "lib.scripthost.d.ts"], // ES2015 Or ESNext By-feature options - ["es2015.core", "lib.es2015.core.d.ts"], - ["es2015.collection", "lib.es2015.collection.d.ts"], - ["es2015.generator", "lib.es2015.generator.d.ts"], - ["es2015.iterable", "lib.es2015.iterable.d.ts"], - ["es2015.promise", "lib.es2015.promise.d.ts"], - ["es2015.proxy", "lib.es2015.proxy.d.ts"], - ["es2015.reflect", "lib.es2015.reflect.d.ts"], - ["es2015.symbol", "lib.es2015.symbol.d.ts"], - ["es2015.symbol.wellknown", "lib.es2015.symbol.wellknown.d.ts"], - ["es2016.array.include", "lib.es2016.array.include.d.ts"], - ["es2016.intl", "lib.es2016.intl.d.ts"], - ["es2017.date", "lib.es2017.date.d.ts"], - ["es2017.object", "lib.es2017.object.d.ts"], - ["es2017.sharedmemory", "lib.es2017.sharedmemory.d.ts"], - ["es2017.string", "lib.es2017.string.d.ts"], - ["es2017.intl", "lib.es2017.intl.d.ts"], - ["es2017.typedarrays", "lib.es2017.typedarrays.d.ts"], - ["es2018.asyncgenerator", "lib.es2018.asyncgenerator.d.ts"], - ["es2018.asynciterable", "lib.es2018.asynciterable.d.ts"], - ["es2018.intl", "lib.es2018.intl.d.ts"], - ["es2018.promise", "lib.es2018.promise.d.ts"], - ["es2018.regexp", "lib.es2018.regexp.d.ts"], - ["es2019.array", "lib.es2019.array.d.ts"], - ["es2019.object", "lib.es2019.object.d.ts"], - ["es2019.string", "lib.es2019.string.d.ts"], - ["es2019.symbol", "lib.es2019.symbol.d.ts"], - ["es2019.intl", "lib.es2019.intl.d.ts"], - ["es2020.bigint", "lib.es2020.bigint.d.ts"], - ["es2020.date", "lib.es2020.date.d.ts"], - ["es2020.promise", "lib.es2020.promise.d.ts"], - ["es2020.sharedmemory", "lib.es2020.sharedmemory.d.ts"], - ["es2020.string", "lib.es2020.string.d.ts"], - ["es2020.symbol.wellknown", "lib.es2020.symbol.wellknown.d.ts"], - ["es2020.intl", "lib.es2020.intl.d.ts"], - ["es2020.number", "lib.es2020.number.d.ts"], - ["es2021.promise", "lib.es2021.promise.d.ts"], - ["es2021.string", "lib.es2021.string.d.ts"], - ["es2021.weakref", "lib.es2021.weakref.d.ts"], - ["es2021.intl", "lib.es2021.intl.d.ts"], - ["es2022.array", "lib.es2022.array.d.ts"], - ["es2022.error", "lib.es2022.error.d.ts"], - ["es2022.intl", "lib.es2022.intl.d.ts"], - ["es2022.object", "lib.es2022.object.d.ts"], - ["es2022.sharedmemory", "lib.es2022.sharedmemory.d.ts"], - ["es2022.string", "lib.es2022.string.d.ts"], - ["es2022.regexp", "lib.es2022.regexp.d.ts"], - ["es2023.array", "lib.es2023.array.d.ts"], - ["es2023.collection", "lib.es2023.collection.d.ts"], - ["es2023.intl", "lib.es2023.intl.d.ts"], - ["esnext.array", "lib.es2023.array.d.ts"], - ["esnext.collection", "lib.esnext.collection.d.ts"], - ["esnext.symbol", "lib.es2019.symbol.d.ts"], - ["esnext.asynciterable", "lib.es2018.asynciterable.d.ts"], - ["esnext.intl", "lib.esnext.intl.d.ts"], - ["esnext.disposable", "lib.esnext.disposable.d.ts"], - ["esnext.bigint", "lib.es2020.bigint.d.ts"], - ["esnext.string", "lib.es2022.string.d.ts"], - ["esnext.promise", "lib.esnext.promise.d.ts"], - ["esnext.weakref", "lib.es2021.weakref.d.ts"], - ["esnext.decorators", "lib.esnext.decorators.d.ts"], - ["esnext.object", "lib.esnext.object.d.ts"], - ["esnext.array", "lib.esnext.array.d.ts"], - ["esnext.regexp", "lib.esnext.regexp.d.ts"], - ["esnext.string", "lib.esnext.string.d.ts"], - ["decorators", "lib.decorators.d.ts"], - ["decorators.legacy", "lib.decorators.legacy.d.ts"], + ["ES2015.Core", "lib.es2015.core.d.ts"], + ["ES2015.Collection", "lib.es2015.collection.d.ts"], + ["ES2015.Generator", "lib.es2015.generator.d.ts"], + ["ES2015.Iterable", "lib.es2015.iterable.d.ts"], + ["ES2015.Promise", "lib.es2015.promise.d.ts"], + ["ES2015.Proxy", "lib.es2015.proxy.d.ts"], + ["ES2015.Reflect", "lib.es2015.reflect.d.ts"], + ["ES2015.Symbol", "lib.es2015.symbol.d.ts"], + ["ES2015.Symbol.WellKnown", "lib.es2015.symbol.wellknown.d.ts"], + ["ES2016.Array.Includes", "lib.es2016.array.include.d.ts"], + ["ES2016.Array.Include", "lib.es2016.array.include.d.ts"], + ["ES2016.Intl", "lib.es2016.intl.d.ts"], + ["ES2017.Date", "lib.es2017.date.d.ts"], + ["ES2017.Object", "lib.es2017.object.d.ts"], + ["ES2017.SharedMemory", "lib.es2017.sharedmemory.d.ts"], + ["ES2017.String", "lib.es2017.string.d.ts"], + ["ES2017.Intl", "lib.es2017.intl.d.ts"], + ["ES2017.TypedArrays", "lib.es2017.typedarrays.d.ts"], + ["ES2017.TypedArray", "lib.es2017.typedarrays.d.ts"], + ["ES2018.AsyncGenerator", "lib.es2018.asyncgenerator.d.ts"], + ["ES2018.AsyncIterable", "lib.es2018.asynciterable.d.ts"], + ["ES2018.Intl", "lib.es2018.intl.d.ts"], + ["ES2018.Promise", "lib.es2018.promise.d.ts"], + ["ES2018.RegExp", "lib.es2018.regexp.d.ts"], + ["ES2019.Array", "lib.es2019.array.d.ts"], + ["ES2019.Object", "lib.es2019.object.d.ts"], + ["ES2019.String", "lib.es2019.string.d.ts"], + ["ES2019.Symbol", "lib.es2019.symbol.d.ts"], + ["ES2019.Intl", "lib.es2019.intl.d.ts"], + ["ES2020.BigInt", "lib.es2020.bigint.d.ts"], + ["ES2020.Date", "lib.es2020.date.d.ts"], + ["ES2020.Promise", "lib.es2020.promise.d.ts"], + ["ES2020.SharedMemory", "lib.es2020.sharedmemory.d.ts"], + ["ES2020.String", "lib.es2020.string.d.ts"], + ["ES2020.Symbol.WellKnown", "lib.es2020.symbol.wellknown.d.ts"], + ["ES2020.Intl", "lib.es2020.intl.d.ts"], + ["ES2020.Number", "lib.es2020.number.d.ts"], + ["ES2021.Promise", "lib.es2021.promise.d.ts"], + ["ES2021.String", "lib.es2021.string.d.ts"], + ["ES2021.WeakRef", "lib.es2021.weakref.d.ts"], + ["ES2021.Intl", "lib.es2021.intl.d.ts"], + ["ES2022.Array", "lib.es2022.array.d.ts"], + ["ES2022.Error", "lib.es2022.error.d.ts"], + ["ES2022.Intl", "lib.es2022.intl.d.ts"], + ["ES2022.Object", "lib.es2022.object.d.ts"], + ["ES2022.SharedMemory", "lib.es2022.sharedmemory.d.ts"], + ["ES2022.String", "lib.es2022.string.d.ts"], + ["ES2022.RegExp", "lib.es2022.regexp.d.ts"], + ["ES2023.Array", "lib.es2023.array.d.ts"], + ["ES2023.Collection", "lib.es2023.collection.d.ts"], + ["ES2023.Intl", "lib.es2023.intl.d.ts"], + ["ESNext.Array", "lib.es2023.array.d.ts"], + ["ESNext.Collection", "lib.esnext.collection.d.ts"], + ["ESNext.Symbol", "lib.es2019.symbol.d.ts"], + ["ESNext.AsyncIterable", "lib.es2018.asynciterable.d.ts"], + ["ESNext.Intl", "lib.esnext.intl.d.ts"], + ["ESNext.Disposable", "lib.esnext.disposable.d.ts"], + ["ESNext.BigInt", "lib.es2020.bigint.d.ts"], + ["ESNext.String", "lib.es2022.string.d.ts"], + ["ESNext.Promise", "lib.esnext.promise.d.ts"], + ["ESNext.WeakRef", "lib.es2021.weakref.d.ts"], + ["ESNext.Decorators", "lib.esnext.decorators.d.ts"], + ["ESNext.Object", "lib.esnext.object.d.ts"], + ["ESNext.Array", "lib.esnext.array.d.ts"], + ["ESNext.RegExp", "lib.esnext.regexp.d.ts"], + ["ESNext.String", "lib.esnext.string.d.ts"], + ["Decorators", "lib.decorators.d.ts"], + ["Decorators.Legacy", "lib.decorators.legacy.d.ts"], ]; /** @@ -248,7 +251,7 @@ const libEntries: [string, string][] = [ * * @internal */ -export const libs = libEntries.map(entry => entry[0]); +export const libs = libEntries.map(entry => entry[0].toLowerCase()); /** * A map of lib names to lib files. This map is used both for parsing the "lib" command line @@ -256,20 +259,20 @@ export const libs = libEntries.map(entry => entry[0]); * * @internal */ -export const libMap = new Map(libEntries); +export const libMap = entriesToCaseInsensitiveMap(libEntries); // Watch related options /** @internal */ export const optionsForWatch: CommandLineOption[] = [ { name: "watchFile", - type: new Map(Object.entries({ - fixedpollinginterval: WatchFileKind.FixedPollingInterval, - prioritypollinginterval: WatchFileKind.PriorityPollingInterval, - dynamicprioritypolling: WatchFileKind.DynamicPriorityPolling, - fixedchunksizepolling: WatchFileKind.FixedChunkSizePolling, - usefsevents: WatchFileKind.UseFsEvents, - usefseventsonparentdirectory: WatchFileKind.UseFsEventsOnParentDirectory, + type: entriesToCaseInsensitiveMap(Object.entries({ + fixedPollingInterval: WatchFileKind.FixedPollingInterval, + priorityPollingInterval: WatchFileKind.PriorityPollingInterval, + dynamicPriorityPolling: WatchFileKind.DynamicPriorityPolling, + fixedChunkSizePolling: WatchFileKind.FixedChunkSizePolling, + useFsEvents: WatchFileKind.UseFsEvents, + useFsEventsOnParentDirectory: WatchFileKind.UseFsEventsOnParentDirectory, })), category: Diagnostics.Watch_and_Build_Modes, description: Diagnostics.Specify_how_the_TypeScript_watch_mode_works, @@ -277,11 +280,11 @@ export const optionsForWatch: CommandLineOption[] = [ }, { name: "watchDirectory", - type: new Map(Object.entries({ - usefsevents: WatchDirectoryKind.UseFsEvents, - fixedpollinginterval: WatchDirectoryKind.FixedPollingInterval, - dynamicprioritypolling: WatchDirectoryKind.DynamicPriorityPolling, - fixedchunksizepolling: WatchDirectoryKind.FixedChunkSizePolling, + type: entriesToCaseInsensitiveMap(Object.entries({ + useFsEvents: WatchDirectoryKind.UseFsEvents, + fixedPollingInterval: WatchDirectoryKind.FixedPollingInterval, + dynamicPriorityPolling: WatchDirectoryKind.DynamicPriorityPolling, + fixedChunkSizePolling: WatchDirectoryKind.FixedChunkSizePolling, })), category: Diagnostics.Watch_and_Build_Modes, description: Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality, @@ -289,11 +292,11 @@ export const optionsForWatch: CommandLineOption[] = [ }, { name: "fallbackPolling", - type: new Map(Object.entries({ - fixedinterval: PollingWatchKind.FixedInterval, - priorityinterval: PollingWatchKind.PriorityInterval, - dynamicpriority: PollingWatchKind.DynamicPriority, - fixedchunksize: PollingWatchKind.FixedChunkSize, + type: entriesToCaseInsensitiveMap(Object.entries({ + fixedInterval: PollingWatchKind.FixedInterval, + priorityInterval: PollingWatchKind.PriorityInterval, + dynamicPriority: PollingWatchKind.DynamicPriority, + fixedChunkSize: PollingWatchKind.FixedChunkSize, })), category: Diagnostics.Watch_and_Build_Modes, description: Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers, @@ -526,26 +529,27 @@ export const commonOptionsWithBuild: CommandLineOption[] = [ export const targetOptionDeclaration: CommandLineOptionOfCustomType = { name: "target", shortName: "t", - type: new Map(Object.entries({ - es3: ScriptTarget.ES3, - es5: ScriptTarget.ES5, - es6: ScriptTarget.ES2015, - es2015: ScriptTarget.ES2015, - es2016: ScriptTarget.ES2016, - es2017: ScriptTarget.ES2017, - es2018: ScriptTarget.ES2018, - es2019: ScriptTarget.ES2019, - es2020: ScriptTarget.ES2020, - es2021: ScriptTarget.ES2021, - es2022: ScriptTarget.ES2022, - es2023: ScriptTarget.ES2023, - esnext: ScriptTarget.ESNext, + type: entriesToCaseInsensitiveMap(Object.entries({ + // N.B. The first entry specifies the value shown in `tsc --init` + ES3: ScriptTarget.ES3, + ES5: ScriptTarget.ES5, + ES2015: ScriptTarget.ES2015, + ES6: ScriptTarget.ES2015, + ES2016: ScriptTarget.ES2016, + ES2017: ScriptTarget.ES2017, + ES2018: ScriptTarget.ES2018, + ES2019: ScriptTarget.ES2019, + ES2020: ScriptTarget.ES2020, + ES2021: ScriptTarget.ES2021, + ES2022: ScriptTarget.ES2022, + ES2023: ScriptTarget.ES2023, + ESNext: ScriptTarget.ESNext, })), affectsSourceFile: true, affectsModuleResolution: true, affectsEmit: true, affectsBuildInfo: true, - deprecatedKeys: new Set(["es3"]), + deprecatedKeys: new Set(["ES3"]), paramType: Diagnostics.VERSION, showInSimplifiedHelpView: true, category: Diagnostics.Language_and_Environment, @@ -557,20 +561,21 @@ export const targetOptionDeclaration: CommandLineOptionOfCustomType = { export const moduleOptionDeclaration: CommandLineOptionOfCustomType = { name: "module", shortName: "m", - type: new Map(Object.entries({ - none: ModuleKind.None, - commonjs: ModuleKind.CommonJS, - amd: ModuleKind.AMD, - system: ModuleKind.System, - umd: ModuleKind.UMD, - es6: ModuleKind.ES2015, - es2015: ModuleKind.ES2015, - es2020: ModuleKind.ES2020, - es2022: ModuleKind.ES2022, - esnext: ModuleKind.ESNext, - node16: ModuleKind.Node16, - nodenext: ModuleKind.NodeNext, - preserve: ModuleKind.Preserve, + type: entriesToCaseInsensitiveMap(Object.entries({ + // N.B. The first entry specifies the value shown in `tsc --init` + None: ModuleKind.None, + CommonJS: ModuleKind.CommonJS, + AMD: ModuleKind.AMD, + System: ModuleKind.System, + UMD: ModuleKind.UMD, + ES2015: ModuleKind.ES2015, + ES6: ModuleKind.ES2015, + ES2020: ModuleKind.ES2020, + ES2022: ModuleKind.ES2022, + ESNext: ModuleKind.ESNext, + Node16: ModuleKind.Node16, + NodeNext: ModuleKind.NodeNext, + Preserve: ModuleKind.Preserve, })), affectsSourceFile: true, affectsModuleResolution: true, @@ -806,7 +811,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ }, { name: "importsNotUsedAsValues", - type: new Map(Object.entries({ + type: entriesToCaseInsensitiveMap(Object.entries({ remove: ImportsNotUsedAsValues.Remove, preserve: ImportsNotUsedAsValues.Preserve, error: ImportsNotUsedAsValues.Error, @@ -1030,16 +1035,16 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ // Module Resolution { name: "moduleResolution", - type: new Map(Object.entries({ + type: entriesToCaseInsensitiveMap(Object.entries({ // N.B. The first entry specifies the value shown in `tsc --init` - node10: ModuleResolutionKind.Node10, - node: ModuleResolutionKind.Node10, - classic: ModuleResolutionKind.Classic, - node16: ModuleResolutionKind.Node16, - nodenext: ModuleResolutionKind.NodeNext, - bundler: ModuleResolutionKind.Bundler, + Node10: ModuleResolutionKind.Node10, + Node: ModuleResolutionKind.Node10, + Classic: ModuleResolutionKind.Classic, + Node16: ModuleResolutionKind.Node16, + NodeNext: ModuleResolutionKind.NodeNext, + Bundler: ModuleResolutionKind.Bundler, })), - deprecatedKeys: new Set(["node"]), + deprecatedKeys: new Set(["Node"]), affectsSourceFile: true, affectsModuleResolution: true, paramType: Diagnostics.STRATEGY, @@ -1340,7 +1345,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ }, { name: "newLine", - type: new Map(Object.entries({ + type: entriesToCaseInsensitiveMap(Object.entries({ crlf: NewLineKind.CarriageReturnLineFeed, lf: NewLineKind.LineFeed, })), @@ -1585,7 +1590,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ }, { name: "moduleDetection", - type: new Map(Object.entries({ + type: entriesToCaseInsensitiveMap(Object.entries({ auto: ModuleDetectionKind.Auto, legacy: ModuleDetectionKind.Legacy, force: ModuleDetectionKind.Force, @@ -3712,8 +3717,7 @@ function convertJsonOptionOfCustomType( sourceFile?: TsConfigSourceFile, ) { if (isNullOrUndefined(value)) return undefined; - const key = value.toLowerCase(); - const val = opt.type.get(key); + const val = opt.type.get(value); if (val !== undefined) { return validateJsonOptionValue(opt, val, errors, valueExpression, sourceFile); } @@ -4137,11 +4141,7 @@ function getOptionValueWithEmptyStrings(value: any, option: CommandLineOption): const elementType = option.element; return isArray(value) ? mapDefined(value, v => getOptionValueWithEmptyStrings(v, elementType)) : ""; default: - return forEachEntry(option.type, (optionEnumValue, optionStringValue) => { - if (optionEnumValue === value) { - return optionStringValue; - } - }); + return getNameOfCompilerOptionValue(value, option.type); } } diff --git a/src/compiler/core.ts b/src/compiler/core.ts index d7f6fe0580d5f..b7187bb914c7d 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -1778,16 +1778,16 @@ export function createSet(getHashCode: (element: TElem get size() { return size; }, - forEach(action: (value: TElement, key: TElement, set: Set) => void): void { + forEach(callback: (value: TElement, key: TElement, set: Set) => void): void { for (const elements of arrayFrom(multiMap.values())) { if (isArray(elements)) { for (const element of elements) { - action(element, element, set); + callback(element, element, set); } } else { const element = elements; - action(element, element, set); + callback(element, element, set); } } }, @@ -1811,6 +1811,118 @@ export function createSet(getHashCode: (element: TElem return set; } +/** + * Creates a Map with custom equality and hash code functionality. This is useful when you + * want to use something looser than object identity - e.g. "has the same span". + * + * If `equals(a, b)`, it must be the case that `getHashCode(a) === getHashCode(b)`. + * The converse is not required. + * + * @internal + */ +export function createMap(getHashCode: (key: TKey) => THash, equals: EqualityComparer): Map { + const multiMap = new Map>(); + let size = 0; + + function* entriesIterator(): IterableIterator<[TKey, TValue]> { + for (const candidates of multiMap.values()) { + yield* candidates; + } + } + + const map: Map = { + has(key: TKey): boolean { + const hash = getHashCode(key); + if (!multiMap.has(hash)) return false; + const candidates = multiMap.get(hash)!; + for (const candidateKey of candidates.keys()) { + if (equals(candidateKey, key)) { + return true; + } + } + return false; + }, + get(key: TKey): TValue | undefined { + const hash = getHashCode(key); + if (!multiMap.has(hash)) return undefined; + const candidates = multiMap.get(hash)!; + for (const [candidateKey, candidateValue] of candidates) { + if (equals(candidateKey, key)) { + return candidateValue; + } + } + }, + set(key: TKey, value: TValue): Map { + const hash = getHashCode(key); + if (multiMap.has(hash)) { + const candidates = multiMap.get(hash)!; + for (const candidateKey of candidates.keys()) { + if (equals(candidateKey, key)) { + candidates.delete(candidateKey); + candidates.set(key, value); + return this; + } + } + candidates.set(key, value); + } + else { + multiMap.set(hash, new Map([[key, value]])); + } + size++; + return this; + }, + delete(key: TKey): boolean { + const hash = getHashCode(key); + if (!multiMap.has(hash)) return false; + const candidates = multiMap.get(hash)!; + for (const candidateKey of candidates.keys()) { + if (equals(candidateKey, key)) { + candidates.delete(candidateKey); + size--; + return true; + } + } + return false; + }, + clear(): void { + multiMap.clear(); + size = 0; + }, + get size() { + return size; + }, + forEach(callback: (value: TValue, key: TKey, map: Map) => void): void { + for (const candidates of multiMap.values()) { + candidates.forEach(callback); + } + }, + *keys(): IterableIterator { + for (const candidates of multiMap.values()) { + yield* candidates.keys(); + } + }, + *values(): IterableIterator { + for (const candidates of multiMap.values()) { + yield* candidates.values(); + } + }, + entries: entriesIterator, + [Symbol.iterator]: entriesIterator, + [Symbol.toStringTag]: multiMap[Symbol.toStringTag], + }; + + return map; +} + +/** @internal */ +export function entriesToCaseInsensitiveMap(entries: Iterable<[TKey, TValue]>): Map { + const map = createMap(toUpperCase, equateStringsCaseInsensitive); + for (const [key, value] of entries) { + map.set(key, value); + } + return map; +} + /** * Tests whether a value is an array. * @@ -1899,7 +2011,7 @@ export function identity(x: T) { } /** - * Returns lower case string + * Returns a lower case string * * @internal */ @@ -1907,6 +2019,15 @@ export function toLowerCase(x: string) { return x.toLowerCase(); } +/** + * Returns an upper case string + * + * @internal + */ +export function toUpperCase(x: string) { + return x.toUpperCase(); +} + // We convert the file names to lower case as key for file name on case insensitive file system // While doing so we need to handle special characters (eg \u0130) to ensure that we dont convert // it to lower case, fileName with its lowercase form can exist along side it. diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index c7170af2355a4..31e883123b404 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -191,6 +191,7 @@ import { getLinesBetweenPositions, getLineStarts, getModeForUsageLocation, + getNameOfCompilerOptionValue, getNameOfDeclaration, getNodeChildren, getNormalizedAbsolutePath, @@ -9114,7 +9115,7 @@ export function getStrictOptionValue(compilerOptions: CompilerOptions, flag: Str /** @internal */ export function getNameOfScriptTarget(scriptTarget: ScriptTarget): string | undefined { - return forEachEntry(targetOptionDeclaration.type, (value, key) => value === scriptTarget ? key : undefined); + return getNameOfCompilerOptionValue(scriptTarget, targetOptionDeclaration.type); } /** @internal */ diff --git a/tests/baselines/reference/callChainWithSuper(target=es6).js b/tests/baselines/reference/callChainWithSuper(target=es2015).js similarity index 100% rename from tests/baselines/reference/callChainWithSuper(target=es6).js rename to tests/baselines/reference/callChainWithSuper(target=es2015).js diff --git a/tests/baselines/reference/config/commandLineParsing/parseBuildOptions/errors on missing argument.js b/tests/baselines/reference/config/commandLineParsing/parseBuildOptions/errors on missing argument.js index 4bc33936ed957..c024eab5f815d 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseBuildOptions/errors on missing argument.js +++ b/tests/baselines/reference/config/commandLineParsing/parseBuildOptions/errors on missing argument.js @@ -9,4 +9,4 @@ Projects:: . Errors:: error TS5080: Watch option 'fallbackPolling' requires a value of type string. -error TS6046: Argument for '--fallbackPolling' option must be: 'fixedinterval', 'priorityinterval', 'dynamicpriority', 'fixedchunksize'. +error TS6046: Argument for '--fallbackPolling' option must be: 'fixedInterval', 'priorityInterval', 'dynamicPriority', 'fixedChunkSize'. diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with extra comma.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with extra comma.js index 44a56c66ec5b6..3ebf1e93db529 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with extra comma.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with extra comma.js @@ -10,4 +10,4 @@ WatchOptions:: FileNames:: es7,0.ts Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with trailing white-space.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with trailing white-space.js index 87aeb7b21a2f3..9fb788fb15169 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with trailing white-space.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse --lib option with trailing white-space.js @@ -10,4 +10,4 @@ WatchOptions:: FileNames:: es7,0.ts Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --module.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --module.js index 1b39c0ab91dd9..acb4271e1ac25 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --module.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --module.js @@ -7,4 +7,4 @@ FileNames:: 0.ts Errors:: error TS6044: Compiler option 'module' expects an argument. -error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --moduleResolution.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --moduleResolution.js index d4a79bbd281e8..918500789bdbf 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --moduleResolution.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --moduleResolution.js @@ -7,4 +7,4 @@ FileNames:: 0.ts Errors:: error TS6044: Compiler option 'moduleResolution' expects an argument. -error TS6046: Argument for '--moduleResolution' option must be: 'node10', 'classic', 'node16', 'nodenext', 'bundler'. +error TS6046: Argument for '--moduleResolution' option must be: 'Node10', 'Classic', 'Node16', 'NodeNext', 'Bundler'. diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --target.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --target.js index 149d87a41590c..afbc7729d2498 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --target.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse empty options of --target.js @@ -7,4 +7,4 @@ FileNames:: 0.ts Errors:: error TS6044: Compiler option 'target' expects an argument. -error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext'. +error TS6046: Argument for '--target' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext'. diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse invalid option of library flags.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse invalid option of library flags.js index 0213cdbf5b8cd..e2d2d9a1f7686 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse invalid option of library flags.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/Parse invalid option of library flags.js @@ -10,4 +10,4 @@ WatchOptions:: FileNames:: 0.ts Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. diff --git a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/errors on missing argument to --fallbackPolling.js b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/errors on missing argument to --fallbackPolling.js index 0ccf34a297a4d..cd59b9e59ac38 100644 --- a/tests/baselines/reference/config/commandLineParsing/parseCommandLine/errors on missing argument to --fallbackPolling.js +++ b/tests/baselines/reference/config/commandLineParsing/parseCommandLine/errors on missing argument to --fallbackPolling.js @@ -7,4 +7,4 @@ FileNames:: 0.ts Errors:: error TS5080: Watch option 'fallbackPolling' requires a value of type string. -error TS6046: Argument for '--fallbackPolling' option must be: 'fixedinterval', 'priorityinterval', 'dynamicpriority', 'fixedchunksize'. +error TS6046: Argument for '--fallbackPolling' option must be: 'fixedInterval', 'priorityInterval', 'dynamicPriority', 'fixedChunkSize'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with json api.js index 04028e2fda1d2..8dc19eb803ba1 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with json api.js @@ -30,5 +30,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with jsonSourceFile api.js index 768504a015812..c859011299522 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs array to compiler-options with jsonSourceFile api.js @@ -30,7 +30,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:8:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +tsconfig.json:8:7 - error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. 8 ""    ~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with json api.js index 12cd9f9a69f6e..80148ef0395c5 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with json api.js @@ -33,5 +33,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with jsonSourceFile api.js index b220f686852a8..94a25749663c9 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert empty string option of libs to compiler-options with jsonSourceFile api.js @@ -33,7 +33,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:9:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +tsconfig.json:9:7 - error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. 9 ""    ~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with json api.js index 53df38f31b261..f858c5f3a2796 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with json api.js @@ -35,5 +35,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with jsonSourceFile api.js index d528f18a59522..5e20818205dd3 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of libs to compiler-options with jsonSourceFile api.js @@ -35,7 +35,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:10:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +tsconfig.json:10:7 - error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. 10 "incorrectLib"    ~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module to compiler-options with json api.js index 13680f74379e6..b8f50eb17f035 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module to compiler-options with json api.js @@ -25,5 +25,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module to compiler-options with jsonSourceFile api.js index e687f319a7b13..6878d88e67f96 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module to compiler-options with jsonSourceFile api.js @@ -25,7 +25,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:3:15 - error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +tsconfig.json:3:15 - error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. 3 "module": "",    ~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module-resolution to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module-resolution to compiler-options with json api.js index 3ca29cf41cf23..8143d23bfb403 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module-resolution to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module-resolution to compiler-options with json api.js @@ -23,5 +23,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--moduleResolution' option must be: 'node10', 'classic', 'node16', 'nodenext', 'bundler'. +error TS6046: Argument for '--moduleResolution' option must be: 'Node10', 'Classic', 'Node16', 'NodeNext', 'Bundler'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module-resolution to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module-resolution to compiler-options with jsonSourceFile api.js index e180d422e0f3e..264b502349a59 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module-resolution to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of module-resolution to compiler-options with jsonSourceFile api.js @@ -23,7 +23,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:3:25 - error TS6046: Argument for '--moduleResolution' option must be: 'node10', 'classic', 'node16', 'nodenext', 'bundler'. +tsconfig.json:3:25 - error TS6046: Argument for '--moduleResolution' option must be: 'Node10', 'Classic', 'Node16', 'NodeNext', 'Bundler'. 3 "moduleResolution": "",    ~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with json api.js index 2ebee617e2d85..49d1750a0e338 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with json api.js @@ -23,5 +23,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext'. +error TS6046: Argument for '--target' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with jsonSourceFile api.js index 3be09424e2bf0..3a82cd54a5f28 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert incorrect option of target to compiler-options with jsonSourceFile api.js @@ -23,7 +23,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:3:15 - error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext'. +tsconfig.json:3:15 - error TS6046: Argument for '--target' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext'. 3 "target": "",    ~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with json api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with json api.js index 910344faabca5..dba7621bae1a3 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with json api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with json api.js @@ -30,5 +30,5 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with jsonSourceFile api.js index 0878868862dc7..9d9bbc78c1397 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert trailing-whitespace string option of libs to compiler-options with jsonSourceFile api.js @@ -30,7 +30,7 @@ CompilerOptions:: "configFilePath": "/apath/tsconfig.json" } Errors:: -tsconfig.json:8:7 - error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'. +tsconfig.json:8:7 - error TS6046: Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'. 8 " "    ~~~~~ diff --git a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert tsconfig options when there are multiple invalid strings with jsonSourceFile api.js b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert tsconfig options when there are multiple invalid strings with jsonSourceFile api.js index 84bc05f9ef8eb..ba8f77bc26daa 100644 --- a/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert tsconfig options when there are multiple invalid strings with jsonSourceFile api.js +++ b/tests/baselines/reference/config/convertCompilerOptionsFromJson/Convert tsconfig options when there are multiple invalid strings with jsonSourceFile api.js @@ -47,7 +47,7 @@ Errors::   ~~~  19 }   ~ -tsconfig.json:3:15 - error TS6046: Argument for '--target' option must be: 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext'. +tsconfig.json:3:15 - error TS6046: Argument for '--target' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext'. 3 "target": "<%- options.useTsWithBabel ? 'esnext' : 'es5' %>",    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 8bb6097f80145..3bef21acab4d7 100644 --- a/tests/baselines/reference/config/initTSConfig/Default initialized TSConfig/tsconfig.json +++ b/tests/baselines/reference/config/initTSConfig/Default initialized TSConfig/tsconfig.json @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 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 8bb6097f80145..3bef21acab4d7 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 @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 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 8bb6097f80145..3bef21acab4d7 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 @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 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 b3d05912583d9..1ccc3bc2097a1 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 @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 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 558f4243438d2..166bfa9e03264 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 @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 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 5679f8b921cdf..d5f52b4795dab 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 @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ "jsx": "react", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 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 535e6a2d97860..006ab011492f6 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 @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 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 da587b6bded7f..c061aa3cce0dc 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 @@ -11,8 +11,8 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ - "lib": ["es5","es2015.promise"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ + "target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "lib": ["ES5","ES2015.Promise"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 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 8bb6097f80145..3bef21acab4d7 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 @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 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 a6e74d92a6a8f..6283ec88c40e0 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 @@ -11,8 +11,8 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ - "lib": ["es5","es2015.core"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ + "target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "lib": ["ES5","ES2015.Core"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 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 41c2964e0e7fa..3cd8fdf3c0770 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 @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + "target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ @@ -25,9 +25,9 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs", /* Specify what module code is generated. */ + "module": "CommonJS", /* Specify what module code is generated. */ // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "moduleResolution": "Node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json index 27dff8d0b2c57..051b7e3b2e786 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { "esModuleInterop": true, - "target": "es5", - "module": "commonjs", + "target": "ES5", + "module": "CommonJS", "strict": true, "allowSyntheticDefaultImports": true, "noImplicitAny": true, diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with enum value compiler options/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with enum value compiler options/tsconfig.json index 0052b1327f123..92ec3125de129 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with enum value compiler options/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with enum value compiler options/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "ES5", "jsx": "react" } } diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with incorrect compiler option value/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with incorrect compiler option value/tsconfig.json index c75e5d4ae1d96..2df1fc046741c 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with incorrect compiler option value/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with incorrect compiler option value/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { "lib": [ - "es5", - "es2015.promise" + "ES5", + "ES2015.Promise" ] } } diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with list compiler options with enum value/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with list compiler options with enum value/tsconfig.json index 6da42b43907bc..8d7052e8acb9c 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with list compiler options with enum value/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with list compiler options with enum value/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { "lib": [ - "es5", - "es2015.core" + "ES5", + "ES2015.Core" ] } } diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json index a82c8761c8650..f5cbcb4c3c575 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with paths and more/tsconfig.json @@ -3,9 +3,9 @@ "allowJs": true, "outDir": "./lib", "esModuleInterop": true, - "module": "commonjs", - "moduleResolution": "node10", - "target": "es2017", + "module": "CommonJS", + "moduleResolution": "Node10", + "target": "ES2017", "sourceMap": true, "baseUrl": "./", "paths": { diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with watch options/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with watch options/tsconfig.json index 7685275bbe730..a34e72a2f6cf1 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with watch options/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with watch options/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": {}, "watchOptions": { - "watchFile": "dynamicprioritypolling" + "watchFile": "dynamicPriorityPolling" }, "include": [ "./src/**/*" diff --git a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/fallbackPolling/tsconfig.json b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/fallbackPolling/tsconfig.json index 3985b8f84a2bb..d28d6daa49987 100644 --- a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/fallbackPolling/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/fallbackPolling/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": {}, "watchOptions": { - "fallbackPolling": "fixedinterval" + "fallbackPolling": "fixedInterval" } } diff --git a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/module/tsconfig.json b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/module/tsconfig.json index 6bd841bcf3291..85aef9e15541c 100644 --- a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/module/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/module/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "module": "none", - "moduleResolution": "classic" + "module": "None", + "moduleResolution": "Classic" } } diff --git a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json index 066d86238d22d..1bdb563e96b2c 100644 --- a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/moduleResolution/tsconfig.json @@ -1,5 +1,5 @@ { "compilerOptions": { - "moduleResolution": "node10" + "moduleResolution": "Node10" } } diff --git a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/target/tsconfig.json b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/target/tsconfig.json index 7e6010a661af1..510c612f17269 100644 --- a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/target/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/target/tsconfig.json @@ -1,5 +1,5 @@ { "compilerOptions": { - "target": "es3" + "target": "ES3" } } diff --git a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/watchDirectory/tsconfig.json b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/watchDirectory/tsconfig.json index a5b93e65d9233..4f9e627537ed7 100644 --- a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/watchDirectory/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/watchDirectory/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": {}, "watchOptions": { - "watchDirectory": "usefsevents" + "watchDirectory": "useFsEvents" } } diff --git a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/watchFile/tsconfig.json b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/watchFile/tsconfig.json index 532addad08bfa..29ac6e95de187 100644 --- a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/watchFile/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/watchFile/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": {}, "watchOptions": { - "watchFile": "fixedpollinginterval" + "watchFile": "fixedPollingInterval" } } diff --git a/tests/baselines/reference/emitHelpersWithLocalCollisions(module=es6).js b/tests/baselines/reference/emitHelpersWithLocalCollisions(module=es2015).js similarity index 100% rename from tests/baselines/reference/emitHelpersWithLocalCollisions(module=es6).js rename to tests/baselines/reference/emitHelpersWithLocalCollisions(module=es2015).js diff --git a/tests/baselines/reference/moduleResolution/reused-program-keeps-errors.js b/tests/baselines/reference/moduleResolution/reused-program-keeps-errors.js index 6ce750c0848c9..6061d23196189 100644 --- a/tests/baselines/reference/moduleResolution/reused-program-keeps-errors.js +++ b/tests/baselines/reference/moduleResolution/reused-program-keeps-errors.js @@ -14,7 +14,7 @@ declare var x: number; Program1 Options Diagnostics:: error TS6053: File 'lib.d.ts' not found. The file is in the program because: - Default library for target 'es5' + Default library for target 'ES5' Program Reused:: Completely @@ -22,5 +22,5 @@ Program Reused:: Completely Program2 Options Diagnostics:: error TS6053: File 'lib.d.ts' not found. The file is in the program because: - Default library for target 'es5' + Default library for target 'ES5' diff --git a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es2015).errors.txt b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es2015).errors.txt index eb71d3c815391..901ec573bb1f8 100644 --- a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es2015).errors.txt +++ b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es2015).errors.txt @@ -1,5 +1,5 @@ regExpWithOpenBracketInCharClass.ts(4,7): error TS1005: ']' expected. -regExpWithOpenBracketInCharClass.ts(4,8): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regExpWithOpenBracketInCharClass.ts(4,8): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. ==== regExpWithOpenBracketInCharClass.ts (2 errors) ==== @@ -10,6 +10,6 @@ regExpWithOpenBracketInCharClass.ts(4,8): error TS1501: This regular expression !!! error TS1005: ']' expected. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. ]; \ No newline at end of file diff --git a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).errors.txt b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).errors.txt index ef21d90567f5e..99f7d93ba056b 100644 --- a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).errors.txt +++ b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).errors.txt @@ -1,6 +1,6 @@ -regExpWithOpenBracketInCharClass.ts(3,8): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +regExpWithOpenBracketInCharClass.ts(3,8): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. regExpWithOpenBracketInCharClass.ts(4,7): error TS1005: ']' expected. -regExpWithOpenBracketInCharClass.ts(4,8): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regExpWithOpenBracketInCharClass.ts(4,8): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. ==== regExpWithOpenBracketInCharClass.ts (3 errors) ==== @@ -8,11 +8,11 @@ regExpWithOpenBracketInCharClass.ts(4,8): error TS1501: This regular expression /[[]/, // Valid /[[]/u, // Valid ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. /[[]/v, // Well-terminated regex with an incomplete character class !!! error TS1005: ']' expected. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. ]; \ No newline at end of file diff --git a/tests/baselines/reference/regularExpressionScanning(target=es2015).errors.txt b/tests/baselines/reference/regularExpressionScanning(target=es2015).errors.txt index e5afde3d2f4b2..44499343c8312 100644 --- a/tests/baselines/reference/regularExpressionScanning(target=es2015).errors.txt +++ b/tests/baselines/reference/regularExpressionScanning(target=es2015).errors.txt @@ -1,12 +1,12 @@ -regularExpressionScanning.ts(3,7): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. -regularExpressionScanning.ts(3,9): error TS1501: This regular expression flag is only available when targeting 'es2018' or later. +regularExpressionScanning.ts(3,7): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. +regularExpressionScanning.ts(3,9): error TS1501: This regular expression flag is only available when targeting 'ES2018' or later. regularExpressionScanning.ts(3,10): error TS1502: The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously. regularExpressionScanning.ts(3,11): error TS1499: Unknown regular expression flag. regularExpressionScanning.ts(3,12): error TS1499: Unknown regular expression flag. regularExpressionScanning.ts(3,13): error TS1500: Duplicate regular expression flag. regularExpressionScanning.ts(3,14): error TS1499: Unknown regular expression flag. regularExpressionScanning.ts(3,15): error TS1502: The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously. -regularExpressionScanning.ts(3,16): error TS1501: This regular expression flag is only available when targeting 'es2022' or later. +regularExpressionScanning.ts(3,16): error TS1501: This regular expression flag is only available when targeting 'ES2022' or later. regularExpressionScanning.ts(3,17): error TS1500: Duplicate regular expression flag. regularExpressionScanning.ts(3,18): error TS1499: Unknown regular expression flag. regularExpressionScanning.ts(3,19): error TS1499: Unknown regular expression flag. @@ -72,7 +72,7 @@ regularExpressionScanning.ts(21,28): error TS1529: Unknown Unicode property name regularExpressionScanning.ts(21,62): error TS1529: Unknown Unicode property name or value. regularExpressionScanning.ts(22,28): error TS1529: Unknown Unicode property name or value. regularExpressionScanning.ts(22,62): error TS1529: Unknown Unicode property name or value. -regularExpressionScanning.ts(22,72): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(22,72): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(23,3): error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. regularExpressionScanning.ts(23,6): error TS1524: Unknown Unicode property name. regularExpressionScanning.ts(23,28): error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. @@ -108,7 +108,7 @@ regularExpressionScanning.ts(25,53): error TS1531: '\p' must be followed by a Un regularExpressionScanning.ts(25,57): error TS1531: '\P' must be followed by a Unicode property value expression enclosed in braces. regularExpressionScanning.ts(25,62): error TS1527: Expected a Unicode property name or value. regularExpressionScanning.ts(25,66): error TS1527: Expected a Unicode property name or value. -regularExpressionScanning.ts(25,67): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(25,67): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(26,3): error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. regularExpressionScanning.ts(26,6): error TS1528: Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set. regularExpressionScanning.ts(26,16): error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. @@ -124,7 +124,7 @@ regularExpressionScanning.ts(27,47): error TS1528: Any Unicode property that wou regularExpressionScanning.ts(28,19): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(28,31): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(28,47): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(28,59): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(28,59): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(31,3): error TS1512: '\c' must be followed by an ASCII letter. regularExpressionScanning.ts(31,6): error TS1512: '\c' must be followed by an ASCII letter. regularExpressionScanning.ts(31,15): error TS1512: '\c' must be followed by an ASCII letter. @@ -156,7 +156,7 @@ regularExpressionScanning.ts(34,42): error TS1508: Unexpected ']'. Did you mean regularExpressionScanning.ts(34,43): error TS1535: This character cannot be escaped in a regular expression. regularExpressionScanning.ts(34,45): error TS1508: Unexpected '{'. Did you mean to escape it with backslash? regularExpressionScanning.ts(34,46): error TS1005: '}' expected. -regularExpressionScanning.ts(34,47): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(34,47): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(36,4): error TS1517: Range out of order in character class. regularExpressionScanning.ts(36,8): error TS1517: Range out of order in character class. regularExpressionScanning.ts(36,34): error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. @@ -191,32 +191,32 @@ regularExpressionScanning.ts(38,67): error TS1005: '--' expected. regularExpressionScanning.ts(38,70): error TS1520: Expected a class set operand. regularExpressionScanning.ts(38,75): error TS1508: Unexpected '&'. Did you mean to escape it with backslash? regularExpressionScanning.ts(38,85): error TS1520: Expected a class set operand. -regularExpressionScanning.ts(38,87): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(38,87): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(39,56): error TS1519: Operators must not be mixed within a character class. Wrap it in a nested class instead. regularExpressionScanning.ts(39,67): error TS1005: '&&' expected. -regularExpressionScanning.ts(39,77): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. -regularExpressionScanning.ts(40,83): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(39,77): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. +regularExpressionScanning.ts(40,83): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(41,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(41,30): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(41,83): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(41,83): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(42,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(42,28): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(42,53): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(42,77): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. -regularExpressionScanning.ts(43,95): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(42,77): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. +regularExpressionScanning.ts(43,95): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(44,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(44,34): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(44,95): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(44,95): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(45,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(45,32): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(45,61): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(45,89): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(45,89): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(46,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(46,79): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(46,91): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(46,91): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(47,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(47,89): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. ==== regularExpressionScanning.ts (219 errors) ==== @@ -224,9 +224,9 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag // Flags /foo/visualstudiocode, ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es2018' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2018' or later. ~ !!! error TS1502: The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously. ~ @@ -240,7 +240,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~ !!! error TS1502: The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es2022' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2022' or later. ~ !!! error TS1500: Duplicate regular expression flag. ~ @@ -391,7 +391,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~~~~~~ !!! error TS1529: Unknown Unicode property name or value. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /\p{InvalidProperty=Value}\p{=}\p{sc=}\P{=foo}[\p{}\p\\\P\P{]\p{/, ~~~~~~~~~~~~~~~~~~~~~~~~~ !!! error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. @@ -466,7 +466,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag !!! error TS1527: Expected a Unicode property name or value. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /\p{RGI_Emoji}\P{RGI_Emoji}[^\p{RGI_Emoji}\P{RGI_Emoji}]/, ~~~~~~~~~~~~~ !!! error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. @@ -501,7 +501,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. // Character escapes /\c[\c0\ca\cQ\c\C]\c1\C/, /\c[\c0\ca\cQ\c\C]\c1\C/u, @@ -571,7 +571,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag !!! error TS1005: '}' expected. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. // Unicode sets notation /[a--b[--][\d++[]]&&[[&0-9--]&&[\p{L}]--\P{L}-_-]]&&&\q{foo}[0---9][&&q&&&\q{bar}&&]/, ~~~ @@ -645,24 +645,24 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag !!! error TS1520: Expected a class set operand. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[[^\P{Decimal_Number}&&[0-9]]&&\p{L}&&\p{ID_Continue}--\p{ASCII}\p{CWCF}]/v, ~~ !!! error TS1519: Operators must not be mixed within a character class. Wrap it in a nested class instead. !!! error TS1005: '&&' expected. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^\p{Emoji}\p{RGI_Emoji}][^\p{Emoji}--\p{RGI_Emoji}][^\p{Emoji}&&\p{RGI_Emoji}]/v, ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^\p{RGI_Emoji}\p{Emoji}][^\p{RGI_Emoji}--\p{Emoji}][^\p{RGI_Emoji}&&\p{Emoji}]/v, ~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^\p{RGI_Emoji}\q{foo}][^\p{RGI_Emoji}--\q{foo}][^\p{RGI_Emoji}&&\q{foo}]/v, ~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. @@ -671,17 +671,17 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~~~~~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^\p{Emoji}[[\p{RGI_Emoji}]]][^\p{Emoji}--[[\p{RGI_Emoji}]]][^\p{Emoji}&&[[\p{RGI_Emoji}]]]/v, ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^[[\p{RGI_Emoji}]]\p{Emoji}][^[[\p{RGI_Emoji}]]--\p{Emoji}][^[[\p{RGI_Emoji}]]&&\p{Emoji}]/v, ~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^[[\p{RGI_Emoji}]]\q{foo}][^[[\p{RGI_Emoji}]]--\q{foo}][^[[\p{RGI_Emoji}]]&&\q{foo}]/v, ~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. @@ -690,20 +690,20 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~~~~~~~~~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^\q{foo|bar|baz}--\q{foo}--\q{bar}--\q{baz}][^\p{L}--\q{foo}--[\q{bar}]--[^[\q{baz}]]]/v, ~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^[[\q{foo|bar|baz}]]--\q{foo}--\q{bar}--\q{baz}][^[^[^\p{L}]]--\q{foo}--[\q{bar}]--[^[\q{baz}]]]/v, ~~~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. ]; \ No newline at end of file diff --git a/tests/baselines/reference/regularExpressionScanning(target=es5).errors.txt b/tests/baselines/reference/regularExpressionScanning(target=es5).errors.txt index 2c185950185a0..82346d1fc3edd 100644 --- a/tests/baselines/reference/regularExpressionScanning(target=es5).errors.txt +++ b/tests/baselines/reference/regularExpressionScanning(target=es5).errors.txt @@ -1,12 +1,12 @@ -regularExpressionScanning.ts(3,7): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. -regularExpressionScanning.ts(3,9): error TS1501: This regular expression flag is only available when targeting 'es2018' or later. +regularExpressionScanning.ts(3,7): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. +regularExpressionScanning.ts(3,9): error TS1501: This regular expression flag is only available when targeting 'ES2018' or later. regularExpressionScanning.ts(3,10): error TS1502: The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously. regularExpressionScanning.ts(3,11): error TS1499: Unknown regular expression flag. regularExpressionScanning.ts(3,12): error TS1499: Unknown regular expression flag. regularExpressionScanning.ts(3,13): error TS1500: Duplicate regular expression flag. regularExpressionScanning.ts(3,14): error TS1499: Unknown regular expression flag. regularExpressionScanning.ts(3,15): error TS1502: The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously. -regularExpressionScanning.ts(3,16): error TS1501: This regular expression flag is only available when targeting 'es2022' or later. +regularExpressionScanning.ts(3,16): error TS1501: This regular expression flag is only available when targeting 'ES2022' or later. regularExpressionScanning.ts(3,17): error TS1500: Duplicate regular expression flag. regularExpressionScanning.ts(3,18): error TS1499: Unknown regular expression flag. regularExpressionScanning.ts(3,19): error TS1499: Unknown regular expression flag. @@ -41,7 +41,7 @@ regularExpressionScanning.ts(13,47): error TS1533: This backreference refers to regularExpressionScanning.ts(13,48): error TS1487: Octal escape sequences are not allowed. Use the syntax '\x05'. regularExpressionScanning.ts(13,53): error TS1533: This backreference refers to a group that does not exist. There are only 4 capturing groups in this regular expression. regularExpressionScanning.ts(13,54): error TS1487: Octal escape sequences are not allowed. Use the syntax '\x00'. -regularExpressionScanning.ts(13,59): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +regularExpressionScanning.ts(13,59): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. regularExpressionScanning.ts(14,5): error TS1503: Named capturing groups are only available when targeting 'ES2018' or later. regularExpressionScanning.ts(14,14): error TS1503: Named capturing groups are only available when targeting 'ES2018' or later. regularExpressionScanning.ts(14,29): error TS1503: Named capturing groups are only available when targeting 'ES2018' or later. @@ -71,10 +71,10 @@ regularExpressionScanning.ts(20,59): error TS1530: Unicode property value expres regularExpressionScanning.ts(20,62): error TS1529: Unknown Unicode property name or value. regularExpressionScanning.ts(21,28): error TS1529: Unknown Unicode property name or value. regularExpressionScanning.ts(21,62): error TS1529: Unknown Unicode property name or value. -regularExpressionScanning.ts(21,72): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +regularExpressionScanning.ts(21,72): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. regularExpressionScanning.ts(22,28): error TS1529: Unknown Unicode property name or value. regularExpressionScanning.ts(22,62): error TS1529: Unknown Unicode property name or value. -regularExpressionScanning.ts(22,72): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(22,72): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(23,3): error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. regularExpressionScanning.ts(23,6): error TS1524: Unknown Unicode property name. regularExpressionScanning.ts(23,28): error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. @@ -100,7 +100,7 @@ regularExpressionScanning.ts(24,53): error TS1531: '\p' must be followed by a Un regularExpressionScanning.ts(24,57): error TS1531: '\P' must be followed by a Unicode property value expression enclosed in braces. regularExpressionScanning.ts(24,62): error TS1527: Expected a Unicode property name or value. regularExpressionScanning.ts(24,66): error TS1527: Expected a Unicode property name or value. -regularExpressionScanning.ts(24,67): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +regularExpressionScanning.ts(24,67): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. regularExpressionScanning.ts(25,6): error TS1524: Unknown Unicode property name. regularExpressionScanning.ts(25,31): error TS1523: Expected a Unicode property name. regularExpressionScanning.ts(25,32): error TS1525: Expected a Unicode property value. @@ -111,7 +111,7 @@ regularExpressionScanning.ts(25,53): error TS1531: '\p' must be followed by a Un regularExpressionScanning.ts(25,57): error TS1531: '\P' must be followed by a Unicode property value expression enclosed in braces. regularExpressionScanning.ts(25,62): error TS1527: Expected a Unicode property name or value. regularExpressionScanning.ts(25,66): error TS1527: Expected a Unicode property name or value. -regularExpressionScanning.ts(25,67): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(25,67): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(26,3): error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. regularExpressionScanning.ts(26,6): error TS1528: Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set. regularExpressionScanning.ts(26,16): error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. @@ -124,18 +124,18 @@ regularExpressionScanning.ts(27,6): error TS1528: Any Unicode property that woul regularExpressionScanning.ts(27,19): error TS1528: Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set. regularExpressionScanning.ts(27,34): error TS1528: Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set. regularExpressionScanning.ts(27,47): error TS1528: Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set. -regularExpressionScanning.ts(27,59): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +regularExpressionScanning.ts(27,59): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. regularExpressionScanning.ts(28,19): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(28,31): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(28,47): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(28,59): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(28,59): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(31,3): error TS1512: '\c' must be followed by an ASCII letter. regularExpressionScanning.ts(31,6): error TS1512: '\c' must be followed by an ASCII letter. regularExpressionScanning.ts(31,15): error TS1512: '\c' must be followed by an ASCII letter. regularExpressionScanning.ts(31,17): error TS1535: This character cannot be escaped in a regular expression. regularExpressionScanning.ts(31,20): error TS1512: '\c' must be followed by an ASCII letter. regularExpressionScanning.ts(31,23): error TS1535: This character cannot be escaped in a regular expression. -regularExpressionScanning.ts(31,26): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +regularExpressionScanning.ts(31,26): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. regularExpressionScanning.ts(33,3): error TS1535: This character cannot be escaped in a regular expression. regularExpressionScanning.ts(33,7): error TS1535: This character cannot be escaped in a regular expression. regularExpressionScanning.ts(33,10): error TS1535: This character cannot be escaped in a regular expression. @@ -148,7 +148,7 @@ regularExpressionScanning.ts(33,41): error TS1508: Unexpected '{'. Did you mean regularExpressionScanning.ts(33,42): error TS1508: Unexpected ']'. Did you mean to escape it with backslash? regularExpressionScanning.ts(33,43): error TS1535: This character cannot be escaped in a regular expression. regularExpressionScanning.ts(33,45): error TS1508: Unexpected '{'. Did you mean to escape it with backslash? -regularExpressionScanning.ts(33,47): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +regularExpressionScanning.ts(33,47): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. regularExpressionScanning.ts(34,3): error TS1511: '\q' is only available inside character class. regularExpressionScanning.ts(34,7): error TS1535: This character cannot be escaped in a regular expression. regularExpressionScanning.ts(34,10): error TS1521: '\q' must be followed by string alternatives enclosed in braces. @@ -162,7 +162,7 @@ regularExpressionScanning.ts(34,42): error TS1508: Unexpected ']'. Did you mean regularExpressionScanning.ts(34,43): error TS1535: This character cannot be escaped in a regular expression. regularExpressionScanning.ts(34,45): error TS1508: Unexpected '{'. Did you mean to escape it with backslash? regularExpressionScanning.ts(34,46): error TS1005: '}' expected. -regularExpressionScanning.ts(34,47): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(34,47): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(36,4): error TS1517: Range out of order in character class. regularExpressionScanning.ts(36,8): error TS1517: Range out of order in character class. regularExpressionScanning.ts(36,34): error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. @@ -178,7 +178,7 @@ regularExpressionScanning.ts(37,57): error TS1508: Unexpected '{'. Did you mean regularExpressionScanning.ts(37,61): error TS1508: Unexpected '}'. Did you mean to escape it with backslash? regularExpressionScanning.ts(37,63): error TS1517: Range out of order in character class. regularExpressionScanning.ts(37,76): error TS1535: This character cannot be escaped in a regular expression. -regularExpressionScanning.ts(37,87): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +regularExpressionScanning.ts(37,87): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. regularExpressionScanning.ts(38,8): error TS1005: '--' expected. regularExpressionScanning.ts(38,9): error TS1520: Expected a class set operand. regularExpressionScanning.ts(38,11): error TS1520: Expected a class set operand. @@ -198,32 +198,32 @@ regularExpressionScanning.ts(38,67): error TS1005: '--' expected. regularExpressionScanning.ts(38,70): error TS1520: Expected a class set operand. regularExpressionScanning.ts(38,75): error TS1508: Unexpected '&'. Did you mean to escape it with backslash? regularExpressionScanning.ts(38,85): error TS1520: Expected a class set operand. -regularExpressionScanning.ts(38,87): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(38,87): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(39,56): error TS1519: Operators must not be mixed within a character class. Wrap it in a nested class instead. regularExpressionScanning.ts(39,67): error TS1005: '&&' expected. -regularExpressionScanning.ts(39,77): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. -regularExpressionScanning.ts(40,83): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(39,77): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. +regularExpressionScanning.ts(40,83): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(41,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(41,30): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(41,83): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(41,83): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(42,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(42,28): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(42,53): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(42,77): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. -regularExpressionScanning.ts(43,95): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(42,77): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. +regularExpressionScanning.ts(43,95): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(44,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(44,34): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(44,95): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(44,95): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(45,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(45,32): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(45,61): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(45,89): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(45,89): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(46,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(46,79): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(46,91): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(46,91): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. regularExpressionScanning.ts(47,5): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. regularExpressionScanning.ts(47,89): error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. -regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. ==== regularExpressionScanning.ts (226 errors) ==== @@ -231,9 +231,9 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag // Flags /foo/visualstudiocode, ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es2018' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2018' or later. ~ !!! error TS1502: The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously. ~ @@ -247,7 +247,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~ !!! error TS1502: The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es2022' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2022' or later. ~ !!! error TS1500: Duplicate regular expression flag. ~ @@ -327,7 +327,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~~ !!! error TS1487: Octal escape sequences are not allowed. Use the syntax '\x00'. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. /(?)((?bar)bar)(?baz)|(foo(?foo))(?)/, ~~~~~ !!! error TS1503: Named capturing groups are only available when targeting 'ES2018' or later. @@ -395,14 +395,14 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~~~~~~ !!! error TS1529: Unknown Unicode property name or value. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. /\p{L}\p{gc=L}\p{ASCII}\p{Invalid}[\p{L}\p{gc=L}\P{ASCII}\p{Invalid}]/v, ~~~~~~~ !!! error TS1529: Unknown Unicode property name or value. ~~~~~~~ !!! error TS1529: Unknown Unicode property name or value. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /\p{InvalidProperty=Value}\p{=}\p{sc=}\P{=foo}[\p{}\p\\\P\P{]\p{/, ~~~~~~~~~~~~~~~~~~~~~~~~~ !!! error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. @@ -456,7 +456,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag !!! error TS1527: Expected a Unicode property name or value. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. /\p{InvalidProperty=Value}\p{=}\p{sc=}\P{=foo}[\p{}\p\\\P\P{]\p{/v, ~~~~~~~~~~~~~~~ !!! error TS1524: Unknown Unicode property name. @@ -479,7 +479,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag !!! error TS1527: Expected a Unicode property name or value. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /\p{RGI_Emoji}\P{RGI_Emoji}[^\p{RGI_Emoji}\P{RGI_Emoji}]/, ~~~~~~~~~~~~~ !!! error TS1530: Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set. @@ -507,7 +507,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~~~~~~~~ !!! error TS1528: Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. /\p{RGI_Emoji}\P{RGI_Emoji}[^\p{RGI_Emoji}\P{RGI_Emoji}]/v, ~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. @@ -516,7 +516,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. // Character escapes /\c[\c0\ca\cQ\c\C]\c1\C/, /\c[\c0\ca\cQ\c\C]\c1\C/u, @@ -533,7 +533,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~ !!! error TS1535: This character cannot be escaped in a regular expression. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. /\q\\\`[\q\\\`[\Q\\\Q{\q{foo|bar|baz]\q{]\q{/, /\q\\\`[\q\\\`[\Q\\\Q{\q{foo|bar|baz]\q{]\q{/u, ~~ @@ -561,7 +561,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~ !!! error TS1508: Unexpected '{'. Did you mean to escape it with backslash? ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. /\q\\\`[\q\\\`[\Q\\\Q{\q{foo|bar|baz]\q{]\q{/v, ~~ !!! error TS1511: '\q' is only available inside character class. @@ -590,7 +590,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag !!! error TS1005: '}' expected. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. // Unicode sets notation /[a--b[--][\d++[]]&&[[&0-9--]&&[\p{L}]--\P{L}-_-]]&&&\q{foo}[0---9][&&q&&&\q{bar}&&]/, ~~~ @@ -625,7 +625,7 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~ !!! error TS1535: This character cannot be escaped in a regular expression. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. /[a--b[--][\d++[]]&&[[&0-9--]&&[\p{L}]--\P{L}-_-]]&&&\q{foo}[0---9][&&q&&&\q{bar}&&]/v, !!! error TS1005: '--' expected. @@ -666,24 +666,24 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag !!! error TS1520: Expected a class set operand. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[[^\P{Decimal_Number}&&[0-9]]&&\p{L}&&\p{ID_Continue}--\p{ASCII}\p{CWCF}]/v, ~~ !!! error TS1519: Operators must not be mixed within a character class. Wrap it in a nested class instead. !!! error TS1005: '&&' expected. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^\p{Emoji}\p{RGI_Emoji}][^\p{Emoji}--\p{RGI_Emoji}][^\p{Emoji}&&\p{RGI_Emoji}]/v, ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^\p{RGI_Emoji}\p{Emoji}][^\p{RGI_Emoji}--\p{Emoji}][^\p{RGI_Emoji}&&\p{Emoji}]/v, ~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^\p{RGI_Emoji}\q{foo}][^\p{RGI_Emoji}--\q{foo}][^\p{RGI_Emoji}&&\q{foo}]/v, ~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. @@ -692,17 +692,17 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~~~~~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^\p{Emoji}[[\p{RGI_Emoji}]]][^\p{Emoji}--[[\p{RGI_Emoji}]]][^\p{Emoji}&&[[\p{RGI_Emoji}]]]/v, ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^[[\p{RGI_Emoji}]]\p{Emoji}][^[[\p{RGI_Emoji}]]--\p{Emoji}][^[[\p{RGI_Emoji}]]&&\p{Emoji}]/v, ~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^[[\p{RGI_Emoji}]]\q{foo}][^[[\p{RGI_Emoji}]]--\q{foo}][^[[\p{RGI_Emoji}]]&&\q{foo}]/v, ~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. @@ -711,20 +711,20 @@ regularExpressionScanning.ts(47,101): error TS1501: This regular expression flag ~~~~~~~~~~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^\q{foo|bar|baz}--\q{foo}--\q{bar}--\q{baz}][^\p{L}--\q{foo}--[\q{bar}]--[^[\q{baz}]]]/v, ~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. /[^[[\q{foo|bar|baz}]]--\q{foo}--\q{bar}--\q{baz}][^[^[^\p{L}]]--\q{foo}--[\q{bar}]--[^[\q{baz}]]]/v, ~~~~~~~~~~~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~~~~~~~~~ !!! error TS1518: Anything that would possibly match more than a single character is invalid inside a negated character class. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'esnext' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ESNext' or later. ]; \ No newline at end of file diff --git a/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions.errors.txt b/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions.errors.txt index 3d5e1e9c02a44..92604ca4b419d 100644 --- a/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions.errors.txt +++ b/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions.errors.txt @@ -3,7 +3,7 @@ regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,28): error TS152 regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,45): error TS1526: Unknown Unicode property value. regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,57): error TS1524: Unknown Unicode property name. regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,93): error TS1526: Unknown Unicode property value. -regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,102): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,102): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== regularExpressionUnicodePropertyValueExpressionSuggestions.ts (6 errors) ==== @@ -24,5 +24,5 @@ regularExpressionUnicodePropertyValueExpressionSuggestions.ts(1,102): error TS15 !!! error TS1526: Unknown Unicode property value. !!! related TS1369: Did you mean 'Inherited'? ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.errors.txt b/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.errors.txt index cb831b29062be..32ff39ff7d83c 100644 --- a/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.errors.txt +++ b/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.errors.txt @@ -1,6 +1,6 @@ -error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. -!!! error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +!!! error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. ==== file.ts (0 errors) ==== \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.oldTranspile.errors.txt index cb831b29062be..32ff39ff7d83c 100644 --- a/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Report an error when compiler-options module-kind is out-of-range.oldTranspile.errors.txt @@ -1,6 +1,6 @@ -error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. -!!! error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +!!! error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. ==== file.ts (0 errors) ==== \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.errors.txt b/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.errors.txt index cb831b29062be..32ff39ff7d83c 100644 --- a/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.errors.txt +++ b/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.errors.txt @@ -1,6 +1,6 @@ -error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. -!!! error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +!!! error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. ==== file.ts (0 errors) ==== \ No newline at end of file diff --git a/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.oldTranspile.errors.txt b/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.oldTranspile.errors.txt index cb831b29062be..32ff39ff7d83c 100644 --- a/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.oldTranspile.errors.txt +++ b/tests/baselines/reference/transpile/Report an error when compiler-options target-script is out-of-range.oldTranspile.errors.txt @@ -1,6 +1,6 @@ -error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. -!!! error TS6046: Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext', 'node16', 'nodenext', 'preserve'. +!!! error TS6046: Argument for '--module' option must be: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES2015', 'ES6', 'ES2020', 'ES2022', 'ESNext', 'Node16', 'NodeNext', 'Preserve'. ==== file.ts (0 errors) ==== \ No newline at end of file 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 7c5ec3d0e2f1a..041648454b135 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 @@ -259,7 +259,7 @@ sourceFile:file4.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lib/module.d.ts": { "original": { @@ -267,7 +267,7 @@ sourceFile:file4.ts "impliedFormat": 1 }, "version": "29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file3.ts": { "original": { @@ -275,7 +275,7 @@ sourceFile:file4.ts "impliedFormat": 1 }, "version": "-10505171738-export const z = 30;\nimport { x } from \"file1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file4.ts": { "original": { @@ -283,7 +283,7 @@ sourceFile:file4.ts "impliedFormat": 1 }, "version": "1463681686-const myVar = 30;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -599,7 +599,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file0.ts": { "original": { @@ -607,7 +607,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "3587416848-const myGlob = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -615,7 +615,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -623,7 +623,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./global.ts": { "original": { @@ -631,7 +631,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "1028229885-const globalConst = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -878,7 +878,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file0.ts": { "original": { @@ -886,7 +886,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "3587416848-const myGlob = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -894,7 +894,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "-4405159098-export const x = 10;console.log(x);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -902,7 +902,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./global.ts": { "original": { @@ -910,7 +910,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "1028229885-const globalConst = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js index bc3e90261e39d..d6fafbb3508b4 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js @@ -393,7 +393,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file0.ts": { "original": { @@ -401,7 +401,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "3587416848-const myGlob = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -409,7 +409,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -417,7 +417,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./global.ts": { "original": { @@ -425,7 +425,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "1028229885-const globalConst = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -685,7 +685,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file0.ts": { "original": { @@ -693,7 +693,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "3587416848-const myGlob = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -701,7 +701,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "-4405159098-export const x = 10;console.log(x);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -709,7 +709,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./global.ts": { "original": { @@ -717,7 +717,7 @@ sourceFile:global.ts "impliedFormat": 1 }, "version": "1028229885-const globalConst = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 d448429255a34..ada863ba26a7c 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 @@ -259,7 +259,7 @@ sourceFile:file4.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../module.d.ts": { "original": { @@ -267,7 +267,7 @@ sourceFile:file4.ts "impliedFormat": 1 }, "version": "-21806566655-declare const myGlob = 20;\ndeclare module \"lib/file1\" {\n export const x = 10;\n}\ndeclare module \"lib/file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file3.ts": { "original": { @@ -275,7 +275,7 @@ sourceFile:file4.ts "impliedFormat": 1 }, "version": "-16038404532-export const z = 30;\nimport { x } from \"lib/file1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file4.ts": { "original": { @@ -283,7 +283,7 @@ sourceFile:file4.ts "impliedFormat": 1 }, "version": "1463681686-const myVar = 30;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -600,7 +600,7 @@ sourceFile:lib/global.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib/file0.ts": { "original": { @@ -608,7 +608,7 @@ sourceFile:lib/global.ts "impliedFormat": 1 }, "version": "3587416848-const myGlob = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib/file1.ts": { "original": { @@ -616,7 +616,7 @@ sourceFile:lib/global.ts "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib/file2.ts": { "original": { @@ -624,7 +624,7 @@ sourceFile:lib/global.ts "impliedFormat": 1 }, "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib/global.ts": { "original": { @@ -632,7 +632,7 @@ sourceFile:lib/global.ts "impliedFormat": 1 }, "version": "1028229885-const globalConst = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/clean/tsx-with-dts-emit.js b/tests/baselines/reference/tsbuild/clean/tsx-with-dts-emit.js index fd0462d5bcc29..14d03c26c42a3 100644 --- a/tests/baselines/reference/tsbuild/clean/tsx-with-dts-emit.js +++ b/tests/baselines/reference/tsbuild/clean/tsx-with-dts-emit.js @@ -41,7 +41,7 @@ Output:: [HH:MM:SS AM] Building project '/src/project/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/src/main.tsx Matched by include pattern 'src/**/*.tsx' in 'src/project/tsconfig.json' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js index 17a95b82ac243..1e0b2434081f4 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js @@ -9,23 +9,23 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -65,23 +65,23 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -124,23 +124,23 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -180,23 +180,23 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -239,23 +239,23 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -295,23 +295,23 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 54113d75277c4..4d122cecf6519 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 @@ -9,23 +9,23 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -61,23 +61,23 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -120,23 +120,23 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -172,23 +172,23 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 e84c1aa9a3254..da970d478ec03 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 @@ -10,23 +10,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -56,23 +56,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -110,23 +110,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -156,23 +156,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 b55571cdeac49..cf132ab5109d7 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 @@ -32,7 +32,7 @@ import { b } from "./b";export const d = b; "compilerOptions": { "incremental": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -122,7 +122,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -130,7 +130,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -138,7 +138,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -146,7 +146,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -154,7 +154,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -274,7 +274,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -282,7 +282,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -290,7 +290,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -298,7 +298,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -306,7 +306,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -423,7 +423,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -431,7 +431,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -439,7 +439,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -447,7 +447,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -455,7 +455,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -558,7 +558,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -566,7 +566,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -574,7 +574,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -582,7 +582,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -590,7 +590,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -698,7 +698,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -706,7 +706,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -714,7 +714,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -722,7 +722,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -730,7 +730,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -867,7 +867,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -875,7 +875,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -883,7 +883,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -891,7 +891,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -899,7 +899,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -990,7 +990,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -998,7 +998,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1006,7 +1006,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1014,7 +1014,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1022,7 +1022,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1157,7 +1157,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1165,7 +1165,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1173,7 +1173,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1181,7 +1181,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1189,7 +1189,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1310,7 +1310,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1318,7 +1318,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1326,7 +1326,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1334,7 +1334,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1342,7 +1342,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1459,7 +1459,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1467,7 +1467,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1475,7 +1475,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1483,7 +1483,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1491,7 +1491,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1582,7 +1582,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1590,7 +1590,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1598,7 +1598,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1606,7 +1606,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1614,7 +1614,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 41637b9841e58..731dc58b33fa9 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js @@ -142,7 +142,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -151,7 +151,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -160,7 +160,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -169,7 +169,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -178,7 +178,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -323,7 +323,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -332,7 +332,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -341,7 +341,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -350,7 +350,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -359,7 +359,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -494,7 +494,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -503,7 +503,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -512,7 +512,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -521,7 +521,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -530,7 +530,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -647,7 +647,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -657,7 +657,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -667,7 +667,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -677,7 +677,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -687,7 +687,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -820,7 +820,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -830,7 +830,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -840,7 +840,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -850,7 +850,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -860,7 +860,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -993,7 +993,7 @@ var aLocal = 100; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1003,7 +1003,7 @@ var aLocal = 100; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1013,7 +1013,7 @@ var aLocal = 100; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1023,7 +1023,7 @@ var aLocal = 100; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1033,7 +1033,7 @@ var aLocal = 100; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1143,7 +1143,7 @@ No shapes updated in the builder:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1153,7 +1153,7 @@ No shapes updated in the builder:: }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1163,7 +1163,7 @@ No shapes updated in the builder:: }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1173,7 +1173,7 @@ No shapes updated in the builder:: }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1183,7 +1183,7 @@ No shapes updated in the builder:: }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1336,7 +1336,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1346,7 +1346,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1356,7 +1356,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1366,7 +1366,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1376,7 +1376,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1518,7 +1518,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1528,7 +1528,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1538,7 +1538,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1548,7 +1548,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1558,7 +1558,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1693,7 +1693,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1703,7 +1703,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1713,7 +1713,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1723,7 +1723,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1733,7 +1733,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1843,7 +1843,7 @@ No shapes updated in the builder:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1853,7 +1853,7 @@ No shapes updated in the builder:: }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1863,7 +1863,7 @@ No shapes updated in the builder:: }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1873,7 +1873,7 @@ No shapes updated in the builder:: }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1883,7 +1883,7 @@ No shapes updated in the builder:: }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 4467e4ae0572e..9833869ab4bf6 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 @@ -8,23 +8,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -58,23 +58,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -113,23 +113,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -163,23 +163,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -216,23 +216,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -266,23 +266,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 8bb5a4e497042..975da96766b61 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js @@ -32,7 +32,7 @@ import { b } from "./b";export const d = b; "compilerOptions": { "composite": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -137,7 +137,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -145,7 +145,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -153,7 +153,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -161,7 +161,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -169,7 +169,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -292,7 +292,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -300,7 +300,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -308,7 +308,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -316,7 +316,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -324,7 +324,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -444,7 +444,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -452,7 +452,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -460,7 +460,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -468,7 +468,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -476,7 +476,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -618,7 +618,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -626,7 +626,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -634,7 +634,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -642,7 +642,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -650,7 +650,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -757,7 +757,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -765,7 +765,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -773,7 +773,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -781,7 +781,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -789,7 +789,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -943,7 +943,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -951,7 +951,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -959,7 +959,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -967,7 +967,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -975,7 +975,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1111,7 +1111,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1119,7 +1119,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1127,7 +1127,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1135,7 +1135,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1143,7 +1143,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1267,7 +1267,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1275,7 +1275,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1283,7 +1283,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1291,7 +1291,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1299,7 +1299,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options.js b/tests/baselines/reference/tsbuild/commandLine/different-options.js index 959c70a4753cb..1f0dd699a64c2 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options.js @@ -158,7 +158,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -168,7 +168,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -178,7 +178,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -188,7 +188,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -198,7 +198,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -347,7 +347,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -357,7 +357,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -367,7 +367,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -377,7 +377,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -387,7 +387,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -524,7 +524,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -534,7 +534,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -544,7 +544,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -554,7 +554,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -564,7 +564,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -730,7 +730,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -740,7 +740,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -750,7 +750,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -760,7 +760,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -770,7 +770,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -892,7 +892,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -902,7 +902,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -912,7 +912,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -922,7 +922,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -932,7 +932,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1081,7 +1081,7 @@ var aLocal = 100; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1091,7 +1091,7 @@ var aLocal = 100; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1101,7 +1101,7 @@ var aLocal = 100; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1111,7 +1111,7 @@ var aLocal = 100; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1121,7 +1121,7 @@ var aLocal = 100; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1274,7 +1274,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1284,7 +1284,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1294,7 +1294,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1304,7 +1304,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1314,7 +1314,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1458,7 +1458,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1468,7 +1468,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1478,7 +1478,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1488,7 +1488,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1498,7 +1498,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 89aaceda67742..e7312546cae17 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 @@ -9,23 +9,23 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -65,23 +65,23 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -122,27 +122,27 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -182,27 +182,27 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 d9397c8617edc..3cb022d6157ba 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 @@ -9,23 +9,23 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -64,23 +64,23 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -120,27 +120,27 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,27 +187,27 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 09e16ac254310..bed5e200d257b 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 @@ -8,23 +8,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -56,23 +56,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 d0ead60f1708f..71509dadabb17 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 @@ -33,7 +33,7 @@ import { b } from "./b";export const d = b; "incremental": true, "declaration": true, "outFile": "../outFile.js", - "module": "amd", + "module": "AMD", "emitDeclarationOnly": true } } @@ -53,7 +53,7 @@ import { b } from "b"; export const g = b; "incremental": true, "declaration": true, "outFile": "../outFile.js", - "module": "amd", + "module": "AMD", "emitDeclarationOnly": true }, "references": [ @@ -179,7 +179,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -187,7 +187,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -195,7 +195,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -203,7 +203,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -211,7 +211,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -405,7 +405,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -413,7 +413,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -421,7 +421,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -429,7 +429,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -437,7 +437,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -600,7 +600,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -608,7 +608,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -616,7 +616,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -624,7 +624,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -632,7 +632,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -914,7 +914,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -922,7 +922,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -930,7 +930,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -938,7 +938,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -946,7 +946,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 c23d7d7171f7f..2cadbb09d5a5a 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 @@ -194,7 +194,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -204,7 +204,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -214,7 +214,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -224,7 +224,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -234,7 +234,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -300,7 +300,7 @@ export declare const d = 10; }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -309,7 +309,7 @@ export declare const d = 10; "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -318,7 +318,7 @@ export declare const d = 10; "impliedFormat": 1 }, "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -327,7 +327,7 @@ export declare const d = 10; "impliedFormat": 1 }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -336,7 +336,7 @@ export declare const d = 10; "impliedFormat": 1 }, "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -345,7 +345,7 @@ export declare const d = 10; "impliedFormat": 1 }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -562,7 +562,7 @@ No shapes updated in the builder:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -572,7 +572,7 @@ No shapes updated in the builder:: }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -582,7 +582,7 @@ No shapes updated in the builder:: }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -592,7 +592,7 @@ No shapes updated in the builder:: }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -602,7 +602,7 @@ No shapes updated in the builder:: }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -782,7 +782,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -792,7 +792,7 @@ exports.d = b_1.b; }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -802,7 +802,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -812,7 +812,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -822,7 +822,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -888,7 +888,7 @@ exports.d = b_1.b; }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -897,7 +897,7 @@ exports.d = b_1.b; "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -906,7 +906,7 @@ exports.d = b_1.b; "impliedFormat": 1 }, "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -915,7 +915,7 @@ exports.d = b_1.b; "impliedFormat": 1 }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -924,7 +924,7 @@ exports.d = b_1.b; "impliedFormat": 1 }, "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -933,7 +933,7 @@ exports.d = b_1.b; "impliedFormat": 1 }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1215,7 +1215,7 @@ var blocal = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1225,7 +1225,7 @@ var blocal = 10; }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1235,7 +1235,7 @@ var blocal = 10; }, "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1245,7 +1245,7 @@ var blocal = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1255,7 +1255,7 @@ var blocal = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 b323594036b96..b95d983df6489 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 @@ -33,7 +33,7 @@ import { b } from "./b";export const d = b; "declaration": true, "emitDeclarationOnly": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -52,7 +52,7 @@ import { b } from "b"; export const g = b; "declaration": true, "emitDeclarationOnly": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" }, "references": [ { 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 361b265b8fa8d..4cf43c9bc34af 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 @@ -8,23 +8,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -58,23 +58,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -109,23 +109,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -158,23 +158,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 5d3a82b3a537b..1970d764b20c9 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 @@ -32,7 +32,7 @@ import { b } from "./b";export const d = b; "compilerOptions": { "composite": true, "outFile": "../outFile.js", - "module": "amd", + "module": "AMD", "emitDeclarationOnly": true } } @@ -51,7 +51,7 @@ import { b } from "b"; export const g = b; "compilerOptions": { "composite": true, "outFile": "../outFile.js", - "module": "amd", + "module": "AMD", "emitDeclarationOnly": true }, "references": [ @@ -163,7 +163,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -171,7 +171,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -179,7 +179,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -187,7 +187,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -195,7 +195,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -257,7 +257,7 @@ declare module "g" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "original": { @@ -265,7 +265,7 @@ declare module "g" { "impliedFormat": 1 }, "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "original": { @@ -273,7 +273,7 @@ declare module "g" { "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "original": { @@ -281,7 +281,7 @@ declare module "g" { "impliedFormat": 1 }, "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "original": { @@ -289,7 +289,7 @@ declare module "g" { "impliedFormat": 1 }, "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -407,7 +407,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -415,7 +415,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -423,7 +423,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -431,7 +431,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -439,7 +439,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -591,7 +591,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -599,7 +599,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -607,7 +607,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -615,7 +615,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -623,7 +623,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -694,7 +694,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "original": { @@ -702,7 +702,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "original": { @@ -710,7 +710,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "original": { @@ -718,7 +718,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "original": { @@ -726,7 +726,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -894,7 +894,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -902,7 +902,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -910,7 +910,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -918,7 +918,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -926,7 +926,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 00914cd270e76..ac94917aafb95 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js @@ -190,7 +190,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -200,7 +200,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -210,7 +210,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -220,7 +220,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -230,7 +230,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -309,7 +309,7 @@ export declare const g = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -319,7 +319,7 @@ export declare const g = 10; }, "version": "-13789510868-export const e = 10;", "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -328,7 +328,7 @@ export declare const g = 10; }, "version": "-3497920574-export declare const a = 10;\n", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -338,7 +338,7 @@ export declare const g = 10; }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -347,7 +347,7 @@ export declare const g = 10; }, "version": "-3829150557-export declare const b = 10;\n", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -357,7 +357,7 @@ export declare const g = 10; }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -492,7 +492,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -502,7 +502,7 @@ Shape signatures in builder refreshed for:: }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -512,7 +512,7 @@ Shape signatures in builder refreshed for:: }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -522,7 +522,7 @@ Shape signatures in builder refreshed for:: }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -532,7 +532,7 @@ Shape signatures in builder refreshed for:: }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -700,7 +700,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -710,7 +710,7 @@ exports.d = b_1.b; }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -720,7 +720,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -730,7 +730,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -740,7 +740,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -830,7 +830,7 @@ exports.g = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -840,7 +840,7 @@ exports.g = b_1.b; }, "version": "-13789510868-export const e = 10;", "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -849,7 +849,7 @@ exports.g = b_1.b; }, "version": "-3497920574-export declare const a = 10;\n", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -859,7 +859,7 @@ exports.g = b_1.b; }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -868,7 +868,7 @@ exports.g = b_1.b; }, "version": "-3829150557-export declare const b = 10;\n", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -878,7 +878,7 @@ exports.g = b_1.b; }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1041,7 +1041,7 @@ var blocal = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1051,7 +1051,7 @@ var blocal = 10; }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1061,7 +1061,7 @@ var blocal = 10; }, "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1071,7 +1071,7 @@ var blocal = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1081,7 +1081,7 @@ var blocal = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 80ac0f549dd8c..345d80a8dc96e 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js @@ -9,23 +9,23 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -65,23 +65,23 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -121,27 +121,27 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,27 +181,27 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -244,27 +244,27 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -304,27 +304,27 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 7647f2c5e41f5..5295972ef9157 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 @@ -9,23 +9,23 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -64,23 +64,23 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -119,27 +119,27 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,27 +186,27 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -256,27 +256,27 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -323,27 +323,27 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 e1c4f162e626e..fe7b0029f6dfe 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 @@ -8,23 +8,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -56,23 +56,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 6bb6c287b0d03..7572c9869dd93 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 @@ -33,7 +33,7 @@ import { b } from "./b";export const d = b; "incremental": true, "declaration": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -52,7 +52,7 @@ import { b } from "b"; export const g = b; "incremental": true, "declaration": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" }, "references": [ { @@ -177,7 +177,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -185,7 +185,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -193,7 +193,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -201,7 +201,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -209,7 +209,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -403,7 +403,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -411,7 +411,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -419,7 +419,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -427,7 +427,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -435,7 +435,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -587,7 +587,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -595,7 +595,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -603,7 +603,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -611,7 +611,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -619,7 +619,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -781,7 +781,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -789,7 +789,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -797,7 +797,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -805,7 +805,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -813,7 +813,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1036,7 +1036,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -1044,7 +1044,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -1052,7 +1052,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -1060,7 +1060,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -1068,7 +1068,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1204,7 +1204,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -1212,7 +1212,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -1220,7 +1220,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -1228,7 +1228,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -1236,7 +1236,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1389,7 +1389,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -1397,7 +1397,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -1405,7 +1405,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -1413,7 +1413,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -1421,7 +1421,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1608,7 +1608,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -1616,7 +1616,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -1624,7 +1624,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -1632,7 +1632,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -1640,7 +1640,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 42f18aa60d680..eccdea3298ffd 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 @@ -192,7 +192,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -202,7 +202,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -212,7 +212,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -222,7 +222,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -232,7 +232,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -298,7 +298,7 @@ export declare const d = 10; }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -307,7 +307,7 @@ export declare const d = 10; "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -316,7 +316,7 @@ export declare const d = 10; "impliedFormat": 1 }, "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -325,7 +325,7 @@ export declare const d = 10; "impliedFormat": 1 }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -334,7 +334,7 @@ export declare const d = 10; "impliedFormat": 1 }, "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -343,7 +343,7 @@ export declare const d = 10; "impliedFormat": 1 }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -560,7 +560,7 @@ No shapes updated in the builder:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -570,7 +570,7 @@ No shapes updated in the builder:: }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -580,7 +580,7 @@ No shapes updated in the builder:: }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -590,7 +590,7 @@ No shapes updated in the builder:: }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -600,7 +600,7 @@ No shapes updated in the builder:: }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -760,7 +760,7 @@ export declare const aaa = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -770,7 +770,7 @@ export declare const aaa = 10; }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -780,7 +780,7 @@ export declare const aaa = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -790,7 +790,7 @@ export declare const aaa = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -800,7 +800,7 @@ export declare const aaa = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -866,7 +866,7 @@ export declare const aaa = 10; }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -875,7 +875,7 @@ export declare const aaa = 10; "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -884,7 +884,7 @@ export declare const aaa = 10; "impliedFormat": 1 }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -893,7 +893,7 @@ export declare const aaa = 10; "impliedFormat": 1 }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -902,7 +902,7 @@ export declare const aaa = 10; "impliedFormat": 1 }, "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -911,7 +911,7 @@ export declare const aaa = 10; "impliedFormat": 1 }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1098,7 +1098,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1108,7 +1108,7 @@ exports.d = b_1.b; }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1118,7 +1118,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1128,7 +1128,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1138,7 +1138,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1203,7 +1203,7 @@ exports.d = b_1.b; }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -1212,7 +1212,7 @@ exports.d = b_1.b; "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -1221,7 +1221,7 @@ exports.d = b_1.b; "impliedFormat": 1 }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -1230,7 +1230,7 @@ exports.d = b_1.b; "impliedFormat": 1 }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -1239,7 +1239,7 @@ exports.d = b_1.b; "impliedFormat": 1 }, "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -1248,7 +1248,7 @@ exports.d = b_1.b; "impliedFormat": 1 }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1471,7 +1471,7 @@ var alocal = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1481,7 +1481,7 @@ var alocal = 10; }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1491,7 +1491,7 @@ var alocal = 10; }, "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1501,7 +1501,7 @@ var alocal = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1511,7 +1511,7 @@ var alocal = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1663,7 +1663,7 @@ No shapes updated in the builder:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1673,7 +1673,7 @@ No shapes updated in the builder:: }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1683,7 +1683,7 @@ No shapes updated in the builder:: }, "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1693,7 +1693,7 @@ No shapes updated in the builder:: }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1703,7 +1703,7 @@ No shapes updated in the builder:: }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1863,7 +1863,7 @@ export declare const aaaaa = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1873,7 +1873,7 @@ export declare const aaaaa = 10; }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1883,7 +1883,7 @@ export declare const aaaaa = 10; }, "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1893,7 +1893,7 @@ export declare const aaaaa = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1903,7 +1903,7 @@ export declare const aaaaa = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1969,7 +1969,7 @@ export declare const aaaaa = 10; }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -1978,7 +1978,7 @@ export declare const aaaaa = 10; "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -1987,7 +1987,7 @@ export declare const aaaaa = 10; "impliedFormat": 1 }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -1996,7 +1996,7 @@ export declare const aaaaa = 10; "impliedFormat": 1 }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -2005,7 +2005,7 @@ export declare const aaaaa = 10; "impliedFormat": 1 }, "version": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -2014,7 +2014,7 @@ export declare const aaaaa = 10; "impliedFormat": 1 }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -2196,7 +2196,7 @@ exports.a2 = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -2206,7 +2206,7 @@ exports.a2 = 10; }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -2216,7 +2216,7 @@ exports.a2 = 10; }, "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -2226,7 +2226,7 @@ exports.a2 = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -2236,7 +2236,7 @@ exports.a2 = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -2301,7 +2301,7 @@ exports.a2 = 10; }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -2310,7 +2310,7 @@ exports.a2 = 10; "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -2319,7 +2319,7 @@ exports.a2 = 10; "impliedFormat": 1 }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -2328,7 +2328,7 @@ exports.a2 = 10; "impliedFormat": 1 }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -2337,7 +2337,7 @@ exports.a2 = 10; "impliedFormat": 1 }, "version": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -2346,7 +2346,7 @@ exports.a2 = 10; "impliedFormat": 1 }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 027c78cc65729..bceb97838a86f 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 @@ -32,7 +32,7 @@ import { b } from "./b";export const d = b; "compilerOptions": { "declaration": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -50,7 +50,7 @@ import { b } from "b"; export const g = b; "compilerOptions": { "declaration": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" }, "references": [ { 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 73615d3ab3057..19b84b1c1389b 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 @@ -8,23 +8,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -58,23 +58,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -108,23 +108,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -157,23 +157,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -209,23 +209,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -258,23 +258,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 84f27dc5278a6..524fcffbd5b06 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 @@ -32,7 +32,7 @@ import { b } from "./b";export const d = b; "compilerOptions": { "composite": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -50,7 +50,7 @@ import { b } from "b"; export const g = b; "compilerOptions": { "composite": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" }, "references": [ { @@ -161,7 +161,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -169,7 +169,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -177,7 +177,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -185,7 +185,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -193,7 +193,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -255,7 +255,7 @@ declare module "g" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "original": { @@ -263,7 +263,7 @@ declare module "g" { "impliedFormat": 1 }, "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "original": { @@ -271,7 +271,7 @@ declare module "g" { "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "original": { @@ -279,7 +279,7 @@ declare module "g" { "impliedFormat": 1 }, "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "original": { @@ -287,7 +287,7 @@ declare module "g" { "impliedFormat": 1 }, "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -405,7 +405,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -413,7 +413,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -421,7 +421,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -429,7 +429,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -437,7 +437,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -578,7 +578,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -586,7 +586,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -594,7 +594,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -602,7 +602,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -610,7 +610,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -660,7 +660,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "original": { @@ -668,7 +668,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "original": { @@ -676,7 +676,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "original": { @@ -684,7 +684,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "original": { @@ -692,7 +692,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -841,7 +841,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -849,7 +849,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -857,7 +857,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -865,7 +865,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -873,7 +873,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -943,7 +943,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "original": { @@ -951,7 +951,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "original": { @@ -959,7 +959,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "original": { @@ -967,7 +967,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "original": { @@ -975,7 +975,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1123,7 +1123,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -1131,7 +1131,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -1139,7 +1139,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -1147,7 +1147,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -1155,7 +1155,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1255,7 +1255,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -1263,7 +1263,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -1271,7 +1271,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -1279,7 +1279,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -1287,7 +1287,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1429,7 +1429,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -1437,7 +1437,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -1445,7 +1445,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -1453,7 +1453,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -1461,7 +1461,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1511,7 +1511,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "original": { @@ -1519,7 +1519,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "original": { @@ -1527,7 +1527,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "original": { @@ -1535,7 +1535,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "original": { @@ -1543,7 +1543,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1717,7 +1717,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -1725,7 +1725,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -1733,7 +1733,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -1741,7 +1741,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -1749,7 +1749,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1799,7 +1799,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/outfile.d.ts": { "original": { @@ -1807,7 +1807,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/e.ts": { "original": { @@ -1815,7 +1815,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/f.ts": { "original": { @@ -1823,7 +1823,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/g.ts": { "original": { @@ -1831,7 +1831,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js index 4b416a0a750ec..5ecc9826af381 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js @@ -188,7 +188,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -198,7 +198,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -208,7 +208,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -218,7 +218,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -228,7 +228,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -307,7 +307,7 @@ export declare const g = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -317,7 +317,7 @@ export declare const g = 10; }, "version": "-13789510868-export const e = 10;", "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -326,7 +326,7 @@ export declare const g = 10; }, "version": "-3497920574-export declare const a = 10;\n", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -336,7 +336,7 @@ export declare const g = 10; }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -345,7 +345,7 @@ export declare const g = 10; }, "version": "-3829150557-export declare const b = 10;\n", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -355,7 +355,7 @@ export declare const g = 10; }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -490,7 +490,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -500,7 +500,7 @@ Shape signatures in builder refreshed for:: }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -510,7 +510,7 @@ Shape signatures in builder refreshed for:: }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -520,7 +520,7 @@ Shape signatures in builder refreshed for:: }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -530,7 +530,7 @@ Shape signatures in builder refreshed for:: }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -681,7 +681,7 @@ export declare const aaa = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -691,7 +691,7 @@ export declare const aaa = 10; }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -701,7 +701,7 @@ export declare const aaa = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -711,7 +711,7 @@ export declare const aaa = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -721,7 +721,7 @@ export declare const aaa = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -788,7 +788,7 @@ export declare const aaa = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -798,7 +798,7 @@ export declare const aaa = 10; }, "version": "-13789510868-export const e = 10;", "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -807,7 +807,7 @@ export declare const aaa = 10; }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -817,7 +817,7 @@ export declare const aaa = 10; }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -826,7 +826,7 @@ export declare const aaa = 10; }, "version": "-3829150557-export declare const b = 10;\n", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -836,7 +836,7 @@ export declare const aaa = 10; }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1002,7 +1002,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1012,7 +1012,7 @@ exports.d = b_1.b; }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1022,7 +1022,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1032,7 +1032,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1042,7 +1042,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1131,7 +1131,7 @@ exports.g = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -1141,7 +1141,7 @@ exports.g = b_1.b; }, "version": "-13789510868-export const e = 10;", "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -1150,7 +1150,7 @@ exports.g = b_1.b; }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -1160,7 +1160,7 @@ exports.g = b_1.b; }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -1169,7 +1169,7 @@ exports.g = b_1.b; }, "version": "-3829150557-export declare const b = 10;\n", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -1179,7 +1179,7 @@ exports.g = b_1.b; }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1321,7 +1321,7 @@ var alocal = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1331,7 +1331,7 @@ var alocal = 10; }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1341,7 +1341,7 @@ var alocal = 10; }, "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1351,7 +1351,7 @@ var alocal = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1361,7 +1361,7 @@ var alocal = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1477,7 +1477,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1487,7 +1487,7 @@ Shape signatures in builder refreshed for:: }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1497,7 +1497,7 @@ Shape signatures in builder refreshed for:: }, "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1507,7 +1507,7 @@ Shape signatures in builder refreshed for:: }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1517,7 +1517,7 @@ Shape signatures in builder refreshed for:: }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1668,7 +1668,7 @@ export declare const aaaaa = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1678,7 +1678,7 @@ export declare const aaaaa = 10; }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1688,7 +1688,7 @@ export declare const aaaaa = 10; }, "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1698,7 +1698,7 @@ export declare const aaaaa = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1708,7 +1708,7 @@ export declare const aaaaa = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1775,7 +1775,7 @@ export declare const aaaaa = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -1785,7 +1785,7 @@ export declare const aaaaa = 10; }, "version": "-13789510868-export const e = 10;", "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -1794,7 +1794,7 @@ export declare const aaaaa = 10; }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -1804,7 +1804,7 @@ export declare const aaaaa = 10; }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -1813,7 +1813,7 @@ export declare const aaaaa = 10; }, "version": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -1823,7 +1823,7 @@ export declare const aaaaa = 10; }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1987,7 +1987,7 @@ exports.a2 = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1997,7 +1997,7 @@ exports.a2 = 10; }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -2007,7 +2007,7 @@ exports.a2 = 10; }, "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -2017,7 +2017,7 @@ exports.a2 = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -2027,7 +2027,7 @@ exports.a2 = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -2096,7 +2096,7 @@ exports.a2 = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -2106,7 +2106,7 @@ exports.a2 = 10; }, "version": "-13789510868-export const e = 10;", "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/a.d.ts": { "original": { @@ -2115,7 +2115,7 @@ exports.a2 = 10; }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f.ts": { "original": { @@ -2125,7 +2125,7 @@ exports.a2 = 10; }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../project1/src/b.d.ts": { "original": { @@ -2134,7 +2134,7 @@ exports.a2 = 10; }, "version": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./g.ts": { "original": { @@ -2144,7 +2144,7 @@ exports.a2 = 10; }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 402f74402440a..c4d4a45a7ae39 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 @@ -9,15 +9,15 @@ CleanBuild: "../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -49,15 +49,15 @@ IncrementalBuild: "../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js index 345cde23b371a..d275657f7be1e 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js @@ -195,7 +195,7 @@ define("b", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -203,7 +203,7 @@ define("b", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9819159940-export function foo() { }export function fooBar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -211,7 +211,7 @@ define("b", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 06f2225f7ddfb..6591934884abe 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 @@ -68,7 +68,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -77,7 +77,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "impliedFormat": 1 }, "version": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -86,7 +86,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "impliedFormat": 1 }, "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -195,7 +195,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "impliedFormat": 1 }, "version": "9819159940-export function foo() { }export function fooBar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -204,7 +204,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "impliedFormat": 1 }, "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -319,7 +319,7 @@ function bar() { } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -329,7 +329,7 @@ function bar() { } }, "version": "9819159940-export function foo() { }export function fooBar() { }", "signature": "-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -339,7 +339,7 @@ function bar() { } }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index 61e901851356f..b511420242867 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -132,7 +132,7 @@ exports.a = 1; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../shared/index.ts": { "original": { @@ -142,7 +142,7 @@ exports.a = 1; }, "version": "-22125360210-export const a: Unrestricted = 1;", "signature": "115643418-export declare const a: Unrestricted;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../shared/typings-base/globals.d.ts": { "original": { @@ -153,7 +153,7 @@ exports.a = 1; "version": "4725476611-type Unrestricted = any;", "signature": "4725476611-type Unrestricted = any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -209,7 +209,7 @@ exports.b = 1; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../webpack/index.ts": { "original": { @@ -219,7 +219,7 @@ exports.b = 1; }, "version": "-14405273073-export const b: Unrestricted = 1;", "signature": "-6010538469-export declare const b: Unrestricted;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../shared/typings-base/globals.d.ts": { "original": { @@ -230,7 +230,7 @@ exports.b = 1; "version": "4725476611-type Unrestricted = any;", "signature": "4725476611-type Unrestricted = any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index 5396ec6485beb..0bb748c85cb4c 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -133,7 +133,7 @@ exports.a = 1; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../shared/index.ts": { "original": { @@ -143,7 +143,7 @@ exports.a = 1; }, "version": "-22125360210-export const a: Unrestricted = 1;", "signature": "115643418-export declare const a: Unrestricted;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../shared/typings-base/globals.d.ts": { "original": { @@ -154,7 +154,7 @@ exports.a = 1; "version": "4725476611-type Unrestricted = any;", "signature": "4725476611-type Unrestricted = any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -210,7 +210,7 @@ exports.b = 1; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../webpack/index.ts": { "original": { @@ -220,7 +220,7 @@ exports.b = 1; }, "version": "-14405273073-export const b: Unrestricted = 1;", "signature": "-6010538469-export declare const b: Unrestricted;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../shared/typings-base/globals.d.ts": { "original": { @@ -231,7 +231,7 @@ exports.b = 1; "version": "4725476611-type Unrestricted = any;", "signature": "4725476611-type Unrestricted = any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index a86ff378fb5f0..038c99d146e47 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -148,7 +148,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -158,7 +158,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -207,7 +207,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -217,7 +217,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -266,7 +266,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -276,7 +276,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js index 60d69f7564282..9918f8f331fe5 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js @@ -82,7 +82,7 @@ Output:: [HH:MM:SS AM] Building project '/src/project2/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project2/src/b.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Project 'src/project3/tsconfig.json' is out of date because output file 'src/project3/tsconfig.tsbuildinfo' does not exist @@ -90,7 +90,7 @@ src/project2/src/b.ts [HH:MM:SS AM] Building project '/src/project3/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project3/src/c.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Project 'src/project4/tsconfig.json' is out of date because output file 'src/project4/tsconfig.tsbuildinfo' does not exist @@ -98,7 +98,7 @@ src/project3/src/c.ts [HH:MM:SS AM] Building project '/src/project4/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project4/src/d.ts Matched by default include pattern '**/*' exitCode:: ExitStatus.Success @@ -135,7 +135,7 @@ exports.b = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -145,7 +145,7 @@ exports.b = 10; }, "version": "-13368947479-export const b = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -194,7 +194,7 @@ exports.c = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -204,7 +204,7 @@ exports.c = 10; }, "version": "-12077479510-export const c = 10;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -253,7 +253,7 @@ exports.d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/d.ts": { "original": { @@ -263,7 +263,7 @@ exports.d = 10; }, "version": "-10786011541-export const d = 10;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -305,7 +305,7 @@ Output:: [HH:MM:SS AM] Building project '/src/project3/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project3/src/c.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Project 'src/project4/tsconfig.json' is out of date because output 'src/project4/tsconfig.tsbuildinfo' is older than input 'src/project3' @@ -315,7 +315,7 @@ src/project3/src/c.ts [HH:MM:SS AM] Updating unchanged output timestamps of project '/src/project4/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project4/src/d.ts Matched by default include pattern '**/*' exitCode:: ExitStatus.Success @@ -352,7 +352,7 @@ exports.cc = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -362,7 +362,7 @@ exports.cc = 10; }, "version": "-12481904019-export const cc = 10;", "signature": "-2549218137-export declare const cc = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-outFile-with-incremental.js b/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-outFile-with-incremental.js index 9e309c3d4e780..9b3b495a54b27 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-outFile-with-incremental.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-outFile-with-incremental.js @@ -75,7 +75,7 @@ Output::    ~~~ lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/ky.d.ts Imported via 'ky' from file 'src/project/src/index.ts' src/project/src/index.ts @@ -107,7 +107,7 @@ Output::    ~~~ lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/ky.d.ts Imported via 'ky' from file 'src/project/src/index.ts' src/project/src/index.ts diff --git a/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-outFile.js b/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-outFile.js index ffe595d098ec2..04f224b5da92b 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-outFile.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-outFile.js @@ -74,7 +74,7 @@ Output::    ~~~ lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/ky.d.ts Imported via 'ky' from file 'src/project/src/index.ts' src/project/src/index.ts @@ -106,7 +106,7 @@ Output::    ~~~ lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/ky.d.ts Imported via 'ky' from file 'src/project/src/index.ts' src/project/src/index.ts diff --git a/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-with-incremental.js b/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-with-incremental.js index d839876f10401..7fa5587647d6a 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors-with-incremental.js @@ -85,7 +85,7 @@ Output:: TSFILE: /src/project/tsconfig.tsbuildinfo lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' src/project/node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'src/project/index.ts' File is ECMAScript module because 'src/project/node_modules/ky/package.json' has field "type" with value "module" @@ -124,7 +124,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/ky/distribution/index.d.ts": { "original": { @@ -133,7 +133,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n", "signature": "10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "./index.ts": { "original": { @@ -142,7 +142,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n", "signature": "-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -194,7 +194,7 @@ Output::    ~~~ lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' src/project/node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'src/project/index.ts' File is ECMAScript module because 'src/project/node_modules/ky/package.json' has field "type" with value "module" diff --git a/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors.js b/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors.js index 12acb1bdf6449..56ac24fe2e138 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/reports-dts-generation-errors.js @@ -83,7 +83,7 @@ Output::    ~~~ lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' src/project/node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'src/project/index.ts' File is ECMAScript module because 'src/project/node_modules/ky/package.json' has field "type" with value "module" @@ -117,7 +117,7 @@ Output::    ~~~ lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' src/project/node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'src/project/index.ts' File is ECMAScript module because 'src/project/node_modules/ky/package.json' has field "type" with value "module" diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index 93a71b9471da4..dad71097f8afa 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -205,7 +205,7 @@ function getVar() { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/common/types.d.ts": { "original": { @@ -216,7 +216,7 @@ function getVar() { "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "signature": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/common/nominal.ts": { "original": { @@ -226,7 +226,7 @@ function getVar() { }, "version": "-8103970050-/// \nexport declare type Nominal = MyNominal;", "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/subproject/index.ts": { "original": { @@ -236,7 +236,7 @@ function getVar() { }, "version": "-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;", "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/subproject2/index.ts": { "original": { @@ -246,7 +246,7 @@ function getVar() { }, "version": "2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}", "signature": "-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 01c952c39d373..a57fb4cb37a64 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -180,7 +180,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../src/common/types.d.ts": { "original": { @@ -191,7 +191,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "signature": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../src/common/nominal.ts": { "original": { @@ -201,7 +201,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-8103970050-/// \nexport declare type Nominal = MyNominal;", "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -266,7 +266,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../src/common/types.d.ts": { "original": { @@ -277,7 +277,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "signature": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../common/nominal.d.ts": { "original": { @@ -286,7 +286,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../src/subproject/index.ts": { "original": { @@ -296,7 +296,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;", "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -379,7 +379,7 @@ function getVar() { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../src/common/types.d.ts": { "original": { @@ -390,7 +390,7 @@ function getVar() { "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "signature": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../common/nominal.d.ts": { "original": { @@ -399,7 +399,7 @@ function getVar() { }, "version": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../subproject/index.d.ts": { "original": { @@ -408,7 +408,7 @@ function getVar() { }, "version": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../src/subproject2/index.ts": { "original": { @@ -418,7 +418,7 @@ function getVar() { }, "version": "2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}", "signature": "-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index 9563ddaae45c8..0d7c0eba7cc1a 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -123,7 +123,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/index.ts": { "original": { @@ -133,7 +133,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}", "signature": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -192,7 +192,7 @@ function fn4() { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../pkg1/lib/src/index.d.ts": { "original": { @@ -201,7 +201,7 @@ function fn4() { }, "version": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n", "signature": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/index.ts": { "original": { @@ -211,7 +211,7 @@ function fn4() { }, "version": "8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}", "signature": "-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 8183c79a1c587..c8454bb041ce0 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 @@ -255,7 +255,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/animal.ts": { "original": { @@ -264,7 +264,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/dog.ts": { "original": { @@ -273,7 +273,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", "signature": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/index.ts": { "original": { @@ -282,7 +282,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", "signature": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../core/utilities.ts": { "original": { @@ -291,7 +291,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", "signature": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index b28f2d1e3ab22..2c8a772d376c3 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -249,7 +249,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/animal.ts": { "original": { @@ -258,7 +258,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/index.ts": { "original": { @@ -268,7 +268,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/utilities.d.ts": { "original": { @@ -277,7 +277,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () }, "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/dog.ts": { "original": { @@ -287,7 +287,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -353,7 +353,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../core/utilities.ts": { "original": { @@ -363,7 +363,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () }, "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -443,7 +443,7 @@ function lastElementOf(arr) { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../animals/animal.d.ts": { "original": { @@ -452,7 +452,7 @@ function lastElementOf(arr) { }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../animals/dog.d.ts": { "original": { @@ -461,7 +461,7 @@ function lastElementOf(arr) { }, "version": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../animals/index.d.ts": { "original": { @@ -470,7 +470,7 @@ function lastElementOf(arr) { }, "version": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../zoo/zoo.ts": { "original": { @@ -480,7 +480,7 @@ function lastElementOf(arr) { }, "version": "13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n", "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index f251e62b80fc8..99b4187154cfc 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -156,7 +156,7 @@ export { C } from "./c"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -166,7 +166,7 @@ export { C } from "./c"; }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -176,7 +176,7 @@ export { C } from "./c"; }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -186,7 +186,7 @@ export { C } from "./c"; }, "version": "-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n", "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -195,7 +195,7 @@ export { C } from "./c"; }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -327,7 +327,7 @@ export interface A { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -337,7 +337,7 @@ export interface A { }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -347,7 +347,7 @@ export interface A { }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -357,7 +357,7 @@ export interface A { }, "version": "-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n", "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -366,7 +366,7 @@ export interface A { }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index 75cf10bdf4c58..38374da5ed5c4 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -144,7 +144,7 @@ export { C } from "./c"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -154,7 +154,7 @@ export { C } from "./c"; }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -164,7 +164,7 @@ export { C } from "./c"; }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -174,7 +174,7 @@ export { C } from "./c"; }, "version": "-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n", "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -183,7 +183,7 @@ export { C } from "./c"; }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ export interface A { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -318,7 +318,7 @@ export interface A { }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -328,7 +328,7 @@ export interface A { }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -338,7 +338,7 @@ export interface A { }, "version": "-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n", "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -347,7 +347,7 @@ export interface A { }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index adfefc83708a5..2e42557925362 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -134,7 +134,7 @@ export interface C { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -144,7 +144,7 @@ export interface C { }, "version": "12550013887-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n", "signature": "-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -154,7 +154,7 @@ export interface C { }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -164,7 +164,7 @@ export interface C { }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -268,7 +268,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -278,7 +278,7 @@ exitCode:: ExitStatus.Success }, "version": "12921437274-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n", "signature": "-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -288,7 +288,7 @@ exitCode:: ExitStatus.Success }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -298,7 +298,7 @@ exitCode:: ExitStatus.Success }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -414,7 +414,7 @@ export interface A { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/a.ts": { "original": { @@ -424,7 +424,7 @@ export interface A { }, "version": "17511804123-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n", "signature": "-21227085920-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/c.ts": { "original": { @@ -434,7 +434,7 @@ export interface A { }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/b.ts": { "original": { @@ -444,7 +444,7 @@ export interface A { }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index 97d75493044e5..0669c0890cdd6 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -85,7 +85,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -95,7 +95,7 @@ function multiply(a, b) { return a * b; } }, "version": "7987260467-export function multiply(a: number, b: number) { return a * b; }", "signature": "-8675294677-export declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/extends/configDir-template.js b/tests/baselines/reference/tsbuild/extends/configDir-template.js index 8c5ad3199241e..ec9f4b6d0653b 100644 --- a/tests/baselines/reference/tsbuild/extends/configDir-template.js +++ b/tests/baselines/reference/tsbuild/extends/configDir-template.js @@ -167,7 +167,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js index cdde064e63fab..c5e1f78a2ff1b 100644 --- a/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js @@ -75,7 +75,7 @@ export declare const x = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -85,7 +85,7 @@ export declare const x = 10; }, "version": "6873164248-// some comment\nexport const x = 10;\n", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/fileDelete/deleted-file-with-outFile-without-composite.js b/tests/baselines/reference/tsbuild/fileDelete/deleted-file-with-outFile-without-composite.js index b95e7919ff348..75e9089970ea0 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/deleted-file-with-outFile-without-composite.js +++ b/tests/baselines/reference/tsbuild/fileDelete/deleted-file-with-outFile-without-composite.js @@ -31,7 +31,7 @@ export function child2() { { "compilerOptions": { "outFile": "../childResult.js", - "module": "amd" + "module": "AMD" } } @@ -59,7 +59,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/child/child2.ts Imported via "../child/child2" from file 'src/child/child.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsbuild/fileDelete/deleted-file-without-composite.js b/tests/baselines/reference/tsbuild/fileDelete/deleted-file-without-composite.js index c25672d5a4093..2337d21d4739c 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/deleted-file-without-composite.js +++ b/tests/baselines/reference/tsbuild/fileDelete/deleted-file-without-composite.js @@ -57,7 +57,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/child/child2.ts Imported via "../child/child2" from file 'src/child/child.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-discrepancies.js b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-discrepancies.js index c8f1a8d1e7c95..1694b1dedbc7b 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-discrepancies.js +++ b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-discrepancies.js @@ -9,11 +9,11 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./child.ts": { "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -52,11 +52,11 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./child.ts": { "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-with-outFile.js b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-with-outFile.js index b08c6b2bbe64b..abe69728422bc 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-with-outFile.js +++ b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-with-outFile.js @@ -32,7 +32,7 @@ export function child2() { "compilerOptions": { "composite": true, "outFile": "../childResult.js", - "module": "amd" + "module": "AMD" } } @@ -48,7 +48,7 @@ export function main() { "compilerOptions": { "composite": true, "outFile": "../mainResult.js", - "module": "amd" + "module": "AMD" }, "references": [ { @@ -82,7 +82,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/child/child2.ts Imported via "../child/child2" from file 'src/child/child.ts' Matched by default include pattern '**/*' @@ -122,7 +122,7 @@ File '/child.jsx' does not exist. File '/lib/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/childResult.d.ts Output from referenced project 'src/child/tsconfig.json' included because '--outFile' specified src/main/main.ts @@ -175,7 +175,7 @@ define("child", ["require", "exports", "child2"], function (require, exports, ch "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./child/child2.ts": { "original": { @@ -183,7 +183,7 @@ define("child", ["require", "exports", "child2"], function (require, exports, ch "impliedFormat": 1 }, "version": "6507293504-export function child2() {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./child/child.ts": { "original": { @@ -191,7 +191,7 @@ define("child", ["require", "exports", "child2"], function (require, exports, ch "impliedFormat": 1 }, "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -251,7 +251,7 @@ define("main", ["require", "exports", "child"], function (require, exports, chil "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./childresult.d.ts": { "original": { @@ -259,7 +259,7 @@ define("main", ["require", "exports", "child"], function (require, exports, chil "impliedFormat": 1 }, "version": "2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main/main.ts": { "original": { @@ -267,7 +267,7 @@ define("main", ["require", "exports", "child"], function (require, exports, chil "impliedFormat": 1 }, "version": "-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -324,7 +324,7 @@ File '/package.json' does not exist according to earlier cached lookups.    ~~~~~~~~~~~~~~~~~ lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/child/child.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Project 'src/main/tsconfig.json' can't be built because its dependency 'src/child' has errors diff --git a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js index c97a202dacaec..5c3a298d1e675 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js +++ b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js @@ -79,7 +79,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/child/child2.ts Imported via "../child/child2" from file 'src/child/child.ts' Matched by default include pattern '**/*' @@ -103,7 +103,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/child/child.d.ts Imported via "../child/child" from file 'src/main/main.ts' File is output of project reference source 'src/child/child.ts' @@ -164,7 +164,7 @@ function child2() { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./child2.ts": { "original": { @@ -174,7 +174,7 @@ function child2() { }, "version": "6507293504-export function child2() {\n}\n", "signature": "-5501507595-export declare function child2(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./child.ts": { "original": { @@ -184,7 +184,7 @@ function child2() { }, "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", "signature": "-1814288093-export declare function child(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -251,7 +251,7 @@ function main() { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../child/child.d.ts": { "original": { @@ -260,7 +260,7 @@ function main() { }, "version": "-1814288093-export declare function child(): void;\n", "signature": "-1814288093-export declare function child(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -270,7 +270,7 @@ function main() { }, "version": "-8540107489-import { child } from \"../child/child\";\nexport function main() {\n child();\n}\n", "signature": "-2471343004-export declare function main(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -335,7 +335,7 @@ File '/package.json' does not exist according to earlier cached lookups.    ~~~~~~~~~~~~~~~~~ lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/child/child.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Project 'src/main/tsconfig.json' can't be built because its dependency 'src/child' has errors @@ -368,7 +368,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./child.ts": { "original": { @@ -378,7 +378,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", "signature": "-1814288093-export declare function child(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index 72fc4b5821efc..2cf4177cacde2 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -188,7 +188,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -198,7 +198,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -208,7 +208,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -219,7 +219,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -228,7 +228,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "version": "-6956449754-export { default as bar } from './bar';\n", "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -238,7 +238,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -356,7 +356,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -366,7 +366,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -376,7 +376,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -387,7 +387,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -396,7 +396,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "version": "-6956449754-export { default as bar } from './bar';\n", "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -406,7 +406,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -524,7 +524,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -534,7 +534,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -544,7 +544,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -555,7 +555,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -564,7 +564,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "version": "-6956449754-export { default as bar } from './bar';\n", "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -574,7 +574,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index 6ae4cccae9b6c..e11f3c26c888b 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -188,7 +188,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -198,7 +198,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -208,7 +208,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -219,7 +219,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -228,7 +228,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "version": "-6956449754-export { default as bar } from './bar';\n", "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -238,7 +238,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -357,7 +357,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -367,7 +367,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -377,7 +377,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -388,7 +388,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -397,7 +397,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "version": "-6956449754-export { default as bar } from './bar';\n", "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -407,7 +407,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -526,7 +526,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -536,7 +536,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -546,7 +546,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -557,7 +557,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -566,7 +566,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "version": "-6956449754-export { default as bar } from './bar';\n", "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -576,7 +576,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 a8330133fce97..e3f850c0e0f2b 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 @@ -192,7 +192,7 @@ var bar_2 = require("./bar"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -202,7 +202,7 @@ var bar_2 = require("./bar"); }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -212,7 +212,7 @@ var bar_2 = require("./bar"); }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -223,7 +223,7 @@ var bar_2 = require("./bar"); "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -233,7 +233,7 @@ var bar_2 = require("./bar"); }, "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -243,7 +243,7 @@ var bar_2 = require("./bar"); }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -351,7 +351,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -361,7 +361,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -371,7 +371,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -382,7 +382,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -391,7 +391,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", "signature": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -400,7 +400,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -536,7 +536,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -546,7 +546,7 @@ exitCode:: ExitStatus.Success }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -556,7 +556,7 @@ exitCode:: ExitStatus.Success }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -567,7 +567,7 @@ exitCode:: ExitStatus.Success "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -577,7 +577,7 @@ exitCode:: ExitStatus.Success }, "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -587,7 +587,7 @@ exitCode:: ExitStatus.Success }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -695,7 +695,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -705,7 +705,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -715,7 +715,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -726,7 +726,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -735,7 +735,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", "signature": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -744,7 +744,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -898,7 +898,7 @@ var bar_2 = require("./bar"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bar.ts": { "original": { @@ -908,7 +908,7 @@ var bar_2 = require("./bar"); }, "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../bundling.ts": { "original": { @@ -918,7 +918,7 @@ var bar_2 = require("./bar"); }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../global.d.ts": { "original": { @@ -929,7 +929,7 @@ var bar_2 = require("./bar"); "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../lazyindex.ts": { "original": { @@ -939,7 +939,7 @@ var bar_2 = require("./bar"); }, "version": "-3721262293-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar();", "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -949,7 +949,7 @@ var bar_2 = require("./bar"); }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 a7a7bce30e479..4d93fcc0ed112 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 @@ -161,7 +161,7 @@ module.exports = {}; "version": "-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", "signature": "-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", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/common/nominal.js": { "original": { @@ -171,7 +171,7 @@ module.exports = {}; }, "version": "-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n", "signature": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -221,7 +221,7 @@ module.exports = {}; "version": "-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", "signature": "-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", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../common/nominal.d.ts": { "original": { @@ -230,7 +230,7 @@ module.exports = {}; }, "version": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n", "signature": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/sub-project/index.js": { "original": { @@ -239,7 +239,7 @@ module.exports = {}; }, "version": "-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n", "signature": "-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index da7eb42369509..c44b2045621eb 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -166,7 +166,7 @@ exports.m = common_1.default; "version": "-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", "signature": "-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", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/common/obj.json": { "version": "2151907832-{\n \"val\": 42\n}", @@ -179,7 +179,7 @@ exports.m = common_1.default; }, "version": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", "signature": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/sub-project/index.js": { "original": { @@ -189,7 +189,7 @@ exports.m = common_1.default; }, "version": "-14684157955-import mod from '../common';\n\nexport const m = mod;\n", "signature": "-12566182521-export const m: {\n val: number;\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -269,7 +269,7 @@ function getVar() { "version": "-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", "signature": "-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", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../sub-project/index.d.ts": { "original": { @@ -278,7 +278,7 @@ function getVar() { }, "version": "-12566182521-export const m: {\n val: number;\n};\n", "signature": "-12566182521-export const m: {\n val: number;\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/sub-project-2/index.js": { "original": { @@ -288,7 +288,7 @@ function getVar() { }, "version": "13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n", "signature": "2403991005-export function getVar(): {\n key: {\n val: number;\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -355,7 +355,7 @@ module.exports = x; "version": "-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", "signature": "-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", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./obj.json": { "version": "2151907832-{\n \"val\": 42\n}", @@ -368,7 +368,7 @@ module.exports = x; }, "version": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", "signature": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index 692ff2996f9c1..38f03fb715eaa 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -101,7 +101,7 @@ var x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/globals.d.ts": { "original": { @@ -112,7 +112,7 @@ var x = 10; "version": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", "signature": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/hkt.ts": { "original": { @@ -121,7 +121,7 @@ var x = 10; }, "version": "675797797-export interface HKT { }", "signature": "675797797-export interface HKT { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -130,7 +130,7 @@ var x = 10; }, "version": "-28636726258-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\nconst x = 10;\ntype A = HKT[typeof sym];\n", "signature": "-28636726258-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\nconst x = 10;\ntype A = HKT[typeof sym];\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -226,7 +226,7 @@ var sym = Symbol(); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/globals.d.ts": { "original": { @@ -237,7 +237,7 @@ var sym = Symbol(); "version": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", "signature": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/hkt.ts": { "original": { @@ -246,7 +246,7 @@ var sym = Symbol(); }, "version": "675797797-export interface HKT { }", "signature": "675797797-export interface HKT { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -256,7 +256,7 @@ var sym = Symbol(); }, "version": "-13476768170-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\n", "signature": "-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -353,7 +353,7 @@ var x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/globals.d.ts": { "original": { @@ -364,7 +364,7 @@ var x = 10; "version": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", "signature": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/hkt.ts": { "original": { @@ -373,7 +373,7 @@ var x = 10; }, "version": "675797797-export interface HKT { }", "signature": "675797797-export interface HKT { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -383,7 +383,7 @@ var x = 10; }, "version": "-8082110290-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\nconst x = 10;", "signature": "-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js index 55bbed775b060..d745d8d2756aa 100644 --- a/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js @@ -752,7 +752,7 @@ exports.x = "type1"; "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -763,7 +763,7 @@ exports.x = "type1"; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -774,7 +774,7 @@ exports.x = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -785,7 +785,7 @@ exports.x = "type1"; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -794,7 +794,7 @@ exports.x = "type1"; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -804,7 +804,7 @@ exports.x = "type1"; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -814,7 +814,7 @@ exports.x = "type1"; }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -824,7 +824,7 @@ exports.x = "type1"; }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -833,7 +833,7 @@ exports.x = "type1"; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -842,7 +842,7 @@ exports.x = "type1"; }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -903,7 +903,7 @@ exports.y = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -914,7 +914,7 @@ exports.y = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -924,7 +924,7 @@ exports.y = 10; }, "version": "-11999455899-export const y = 10", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -933,7 +933,7 @@ exports.y = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -988,7 +988,7 @@ exports.z = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -999,7 +999,7 @@ exports.z = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1009,7 +1009,7 @@ exports.z = 10; }, "version": "-11960320506-export const z = 10", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1018,7 +1018,7 @@ exports.z = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1074,7 +1074,7 @@ exports.z = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -1085,7 +1085,7 @@ exports.z = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { @@ -1096,7 +1096,7 @@ exports.z = 10; "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1106,7 +1106,7 @@ exports.z = 10; }, "version": "-11960320506-export const z = 10", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1115,7 +1115,7 @@ exports.z = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/libraryResolution/with-config.js b/tests/baselines/reference/tsbuild/libraryResolution/with-config.js index 20f718d276f35..c61eeacd5d6c0 100644 --- a/tests/baselines/reference/tsbuild/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsbuild/libraryResolution/with-config.js @@ -735,7 +735,7 @@ exports.x = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -746,7 +746,7 @@ exports.x = "type1"; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -757,7 +757,7 @@ exports.x = "type1"; "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -768,7 +768,7 @@ exports.x = "type1"; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -777,7 +777,7 @@ exports.x = "type1"; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -787,7 +787,7 @@ exports.x = "type1"; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -797,7 +797,7 @@ exports.x = "type1"; }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -807,7 +807,7 @@ exports.x = "type1"; }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -816,7 +816,7 @@ exports.x = "type1"; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -825,7 +825,7 @@ exports.x = "type1"; }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -886,7 +886,7 @@ exports.y = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -897,7 +897,7 @@ exports.y = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -907,7 +907,7 @@ exports.y = 10; }, "version": "-11999455899-export const y = 10", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -916,7 +916,7 @@ exports.y = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -971,7 +971,7 @@ exports.z = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -982,7 +982,7 @@ exports.z = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -992,7 +992,7 @@ exports.z = 10; }, "version": "-11960320506-export const z = 10", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1001,7 +1001,7 @@ exports.z = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1057,7 +1057,7 @@ exports.z = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -1068,7 +1068,7 @@ exports.z = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -1079,7 +1079,7 @@ exports.z = 10; "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1089,7 +1089,7 @@ exports.z = 10; }, "version": "-11960320506-export const z = 10", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1098,7 +1098,7 @@ exports.z = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js b/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js index 16f08afa54b6e..834cde7b0b94c 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js @@ -97,7 +97,7 @@ File '/src/projects/node_modules/@types/pg/package.json' exists according to ear File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/projects/a/src/index.ts Matched by default include pattern '**/*' src/projects/node_modules/@types/pg/index.d.ts @@ -136,7 +136,7 @@ Resolving real path for '/src/projects/node_modules/@types/pg/index.d.ts', resul File '/lib/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. lib/lib.es2022.full.d.ts - Default library for target 'es2022' + Default library for target 'ES2022' src/projects/node_modules/@types/pg/index.d.ts Imported via "pg" from file 'src/projects/b/src/index.ts' Entry point for implicit type library 'pg' diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index ef066a855356a..8da43f6668485 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -169,7 +169,7 @@ export type { TheNum } from 'const'; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../const.ts": { "original": { @@ -179,7 +179,7 @@ export type { TheNum } from 'const'; }, "version": "-11202312776-export type TheNum = 42;", "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -189,7 +189,7 @@ export type { TheNum } from 'const'; }, "version": "-10837689162-export type { TheNum } from 'const';", "signature": "-9751391360-export type { TheNum } from 'const';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index f58c4e5053051..fb49a46326049 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -168,7 +168,7 @@ export type { TheNum } from 'const'; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../const.ts": { "original": { @@ -178,7 +178,7 @@ export type { TheNum } from 'const'; }, "version": "-11202312776-export type TheNum = 42;", "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -188,7 +188,7 @@ export type { TheNum } from 'const'; }, "version": "-10837689162-export type { TheNum } from 'const';", "signature": "-9751391360-export type { TheNum } from 'const';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/moduleResolution/shared-resolution-should-not-report-error.js b/tests/baselines/reference/tsbuild/moduleResolution/shared-resolution-should-not-report-error.js index 84fc052193937..50310fa61eb4c 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/shared-resolution-should-not-report-error.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/shared-resolution-should-not-report-error.js @@ -121,7 +121,7 @@ Resolving real path for '/src/projects/project/packages/a/index.js', result '/sr File '/lib/package.json' does not exist. File '/package.json' does not exist. ../../../lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' packages/a/index.js Matched by default include pattern '**/*' File is ECMAScript module because 'packages/a/package.json' has field "type" with value "module" @@ -147,7 +147,7 @@ File '/src/projects/project/packages/a/package.json' exists according to earlier File '/lib/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' packages/a/types/index.d.ts Imported via 'a' from file 'packages/b/index.js' with packageId 'a/index.js@0.0.0' File is output of project reference source 'packages/a/index.js' @@ -192,7 +192,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.js": { "original": { @@ -202,7 +202,7 @@ export {}; }, "version": "-15642581130-export const a = 'a';", "signature": "-13259723213-export const a: \"a\";\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "../test/index.js": { "original": { @@ -212,7 +212,7 @@ export {}; }, "version": "-3920874422-import 'a';", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index 921c5659852eb..861ba32c91f84 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -127,7 +127,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./pkg1_index.ts": { "original": { @@ -137,7 +137,7 @@ exitCode:: ExitStatus.Success }, "version": "-9601687719-export const theNum: TheNum = \"type1\";", "signature": "-11475605505-export declare const theNum: TheNum;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -148,7 +148,7 @@ exitCode:: ExitStatus.Success "version": "-4557394441-declare type TheNum = \"type1\";", "signature": "-4557394441-declare type TheNum = \"type1\";", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -198,7 +198,7 @@ exports.theNum = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./pkg2_index.ts": { "original": { @@ -208,7 +208,7 @@ exports.theNum = "type1"; }, "version": "-12823281204-export const theNum: TheNum2 = \"type2\";", "signature": "-13622769679-export declare const theNum: TheNum2;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot2/sometype/index.d.ts": { "original": { @@ -219,7 +219,7 @@ exports.theNum = "type1"; "version": "-980425686-declare type TheNum2 = \"type2\";", "signature": "-980425686-declare type TheNum2 = \"type2\";", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/moduleResolution/when-resolution-is-not-shared.js b/tests/baselines/reference/tsbuild/moduleResolution/when-resolution-is-not-shared.js index 15873577c717a..8326a90d325a4 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/when-resolution-is-not-shared.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/when-resolution-is-not-shared.js @@ -120,7 +120,7 @@ Resolving real path for '/src/projects/project/packages/a/index.js', result '/sr File '/lib/package.json' does not exist. File '/package.json' does not exist. ../../../lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' packages/a/index.js Matched by default include pattern '**/*' File is ECMAScript module because 'packages/a/package.json' has field "type" with value "module" @@ -164,7 +164,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.js": { "original": { @@ -174,7 +174,7 @@ export {}; }, "version": "-15642581130-export const a = 'a';", "signature": "-13259723213-export const a: \"a\";\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "../test/index.js": { "original": { @@ -184,7 +184,7 @@ export {}; }, "version": "-3920874422-import 'a';", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -258,7 +258,7 @@ Found 'package.json' at '/src/projects/project/packages/a/package.json'. File '/lib/package.json' does not exist. File '/package.json' does not exist. ../../../lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' packages/a/types/index.d.ts Imported via 'a' from file 'packages/b/index.js' with packageId 'a/types/index.d.ts@0.0.0' File is ECMAScript module because 'packages/a/package.json' has field "type" with value "module" diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js index b895b0915ef28..1c4ed631ce7ec 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-across-projects-resolve-correctly.js @@ -249,7 +249,7 @@ export class LassieDog extends Dog { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src-types/dogconfig.d.ts": { "original": { @@ -258,7 +258,7 @@ export class LassieDog extends Dog { }, "version": "-3612551765-export interface DogConfig {\n name: string;\n}\n", "signature": "-3612551765-export interface DogConfig {\n name: string;\n}\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "../src-types/index.d.ts": { "original": { @@ -267,7 +267,7 @@ export class LassieDog extends Dog { }, "version": "-6677489680-export * from './dogconfig.js';\n", "signature": "-6677489680-export * from './dogconfig.js';\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "./dogconfig.ts": { "original": { @@ -277,7 +277,7 @@ export class LassieDog extends Dog { }, "version": "1966273863-import { DogConfig } from 'src-types';\n\nexport const DOG_CONFIG: DogConfig = {\n name: 'Default dog',\n};\n", "signature": "15679103984-import { DogConfig } from 'src-types';\nexport declare const DOG_CONFIG: DogConfig;\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "./dog.ts": { "original": { @@ -287,7 +287,7 @@ export class LassieDog extends Dog { }, "version": "6091345804-import { DogConfig } from 'src-types';\nimport { DOG_CONFIG } from './dogconfig.js';\n\nexport abstract class Dog {\n\n public static getCapabilities(): DogConfig {\n return DOG_CONFIG;\n }\n}\n", "signature": "26984075437-import { DogConfig } from 'src-types';\nexport declare abstract class Dog {\n static getCapabilities(): DogConfig;\n}\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "./lassie/lassieconfig.ts": { "original": { @@ -297,7 +297,7 @@ export class LassieDog extends Dog { }, "version": "4440579024-import { DogConfig } from 'src-types';\n\nexport const LASSIE_CONFIG: DogConfig = { name: 'Lassie' };\n", "signature": "17379560247-import { DogConfig } from 'src-types';\nexport declare const LASSIE_CONFIG: DogConfig;\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "./lassie/lassiedog.ts": { "original": { @@ -307,7 +307,7 @@ export class LassieDog extends Dog { }, "version": "-32303727812-import { Dog } from '../dog.js';\nimport { LASSIE_CONFIG } from './lassieconfig.js';\n\nexport class LassieDog extends Dog {\n protected static getDogConfig = () => LASSIE_CONFIG;\n}\n", "signature": "-10239718190-import { Dog } from '../dog.js';\nexport declare class LassieDog extends Dog {\n protected static getDogConfig: () => import(\"src-types\").DogConfig;\n}\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "./index.ts": { "original": { @@ -316,7 +316,7 @@ export class LassieDog extends Dog { }, "version": "-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n", "signature": "-15974991320-export * from 'src-types';\nexport * from './lassie/lassiedog.js';\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -412,7 +412,7 @@ export * from './dogconfig.js'; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./dogconfig.ts": { "original": { @@ -422,7 +422,7 @@ export * from './dogconfig.js'; }, "version": "-5575793279-export interface DogConfig {\n name: string;\n}", "signature": "-3612551765-export interface DogConfig {\n name: string;\n}\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "./index.ts": { "original": { @@ -432,7 +432,7 @@ export * from './dogconfig.js'; }, "version": "-6189272282-export * from './dogconfig.js';", "signature": "-6677489680-export * from './dogconfig.js';\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index f9f46662574ce..8b364fae2e1e0 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -170,7 +170,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "version": "-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", "signature": "-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", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../solution/common/nominal.ts": { "original": { @@ -179,7 +179,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -236,7 +236,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "version": "-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", "signature": "-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", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../common/nominal.d.ts": { "original": { @@ -245,7 +245,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../solution/sub-project/index.ts": { "original": { @@ -255,7 +255,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n", "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -332,7 +332,7 @@ function getVar() { "version": "-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", "signature": "-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", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../common/nominal.d.ts": { "original": { @@ -341,7 +341,7 @@ function getVar() { }, "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../sub-project/index.d.ts": { "original": { @@ -350,7 +350,7 @@ function getVar() { }, "version": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../solution/sub-project-2/index.ts": { "original": { @@ -360,7 +360,7 @@ function getVar() { }, "version": "-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n", "signature": "-20490736360-import { MyNominal } from '../sub-project/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noCheck-errors/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck-errors/semantic-errors-with-incremental.js index 418366e76fb92..f46b76fae48a1 100644 --- a/tests/baselines/reference/tsbuild/noCheck-errors/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck-errors/semantic-errors-with-incremental.js @@ -87,7 +87,7 @@ No shapes updated in the builder:: }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -98,7 +98,7 @@ No shapes updated in the builder:: }, "version": "9312413704-const err: number = \"error\";\nconst a: number = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -230,7 +230,7 @@ No shapes updated in the builder:: }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -241,7 +241,7 @@ No shapes updated in the builder:: }, "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -381,7 +381,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -393,7 +393,7 @@ Shape signatures in builder refreshed for:: "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noCheck-errors/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck-errors/syntax-errors-with-incremental.js index 9dbf64ac4652d..79c251b7e4b11 100644 --- a/tests/baselines/reference/tsbuild/noCheck-errors/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck-errors/syntax-errors-with-incremental.js @@ -92,7 +92,7 @@ No shapes updated in the builder:: }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -103,7 +103,7 @@ No shapes updated in the builder:: }, "version": "8018408675-const err: number = \"error\";\nconst a = \"hello", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -240,7 +240,7 @@ No shapes updated in the builder:: }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -251,7 +251,7 @@ No shapes updated in the builder:: }, "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -391,7 +391,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -403,7 +403,7 @@ Shape signatures in builder refreshed for:: "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental-discrepancies.js index 0d6fc4a41f105..f24a282790953 100644 --- a/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental-discrepancies.js @@ -8,12 +8,12 @@ CleanBuild: "../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -50,12 +50,12 @@ IncrementalBuild: "../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -82,12 +82,12 @@ CleanBuild: "../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -124,12 +124,12 @@ IncrementalBuild: "../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental.js index 01e9dd138939b..0ff1284e901e4 100644 --- a/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental.js @@ -89,7 +89,7 @@ declare const a: number; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -101,7 +101,7 @@ declare const a: number; "version": "9312413704-const err: number = \"error\";\nconst a: number = \"hello\"", "signature": "-22763377875-declare const err: number;\ndeclare const a: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -203,7 +203,7 @@ declare const a = "hello"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -215,7 +215,7 @@ declare const a = "hello"; "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental-discrepancies.js index 0d6fc4a41f105..f24a282790953 100644 --- a/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental-discrepancies.js @@ -8,12 +8,12 @@ CleanBuild: "../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -50,12 +50,12 @@ IncrementalBuild: "../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -82,12 +82,12 @@ CleanBuild: "../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -124,12 +124,12 @@ IncrementalBuild: "../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental.js index 40a8358b589e6..2b8a6782d6b52 100644 --- a/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental.js @@ -88,7 +88,7 @@ No shapes updated in the builder:: }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -99,7 +99,7 @@ No shapes updated in the builder:: }, "version": "8018408675-const err: number = \"error\";\nconst a = \"hello", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -235,7 +235,7 @@ declare const a = "hello"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -247,7 +247,7 @@ declare const a = "hello"; "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 cc403e3ef0632..f1e1dbd74fd26 100644 --- a/tests/baselines/reference/tsbuild/noEmit/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/semantic-errors-with-incremental.js @@ -87,7 +87,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -98,7 +98,7 @@ Shape signatures in builder refreshed for:: "version": "1311033573-const a: number = \"hello\"", "signature": "1311033573-const a: number = \"hello\"", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -234,7 +234,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -246,7 +246,7 @@ Shape signatures in builder refreshed for:: "version": "4011451714-const a = \"hello\"", "signature": "-5460434953-declare const a = \"hello\";\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 bd52e5bef957c..3eb38ec0488ba 100644 --- a/tests/baselines/reference/tsbuild/noEmit/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/syntax-errors-with-incremental.js @@ -83,7 +83,7 @@ No shapes updated in the builder:: }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -94,7 +94,7 @@ No shapes updated in the builder:: }, "version": "2464268576-const a = \"hello", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -215,7 +215,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -227,7 +227,7 @@ Shape signatures in builder refreshed for:: "version": "4011451714-const a = \"hello\"", "signature": "-5460434953-declare const a = \"hello\";\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js index 0eb3478d76987..17bac8d13e5bb 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js @@ -228,7 +228,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -236,7 +236,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -244,7 +244,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -252,7 +252,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-incremental.js index 4d3ca740028bf..5b4e2222c6acd 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-incremental.js @@ -212,7 +212,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -220,7 +220,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -228,7 +228,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -236,7 +236,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-declaration-with-incremental.js index a9c31e02fa421..a3bf6d9c02512 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-declaration-with-incremental.js @@ -119,7 +119,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -128,7 +128,7 @@ Shape signatures in builder refreshed for:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -137,7 +137,7 @@ Shape signatures in builder refreshed for:: }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -146,7 +146,7 @@ Shape signatures in builder refreshed for:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -357,7 +357,7 @@ console.log("hi"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -366,7 +366,7 @@ console.log("hi"); }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -376,7 +376,7 @@ console.log("hi"); }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -386,7 +386,7 @@ console.log("hi"); }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 890ffe49477e3..8a9028831a477 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js @@ -117,7 +117,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -126,7 +126,7 @@ Shape signatures in builder refreshed for:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -135,7 +135,7 @@ Shape signatures in builder refreshed for:: }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -144,7 +144,7 @@ Shape signatures in builder refreshed for:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -338,7 +338,7 @@ console.log("hi"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -347,7 +347,7 @@ console.log("hi"); }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -357,7 +357,7 @@ console.log("hi"); }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -366,7 +366,7 @@ console.log("hi"); }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js index 636d73d659dfd..d3965ace7c2ef 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js @@ -235,7 +235,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -243,7 +243,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -251,7 +251,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -259,7 +259,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-incremental.js index 5063c94896556..1f55fb6f63dc3 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-incremental.js @@ -219,7 +219,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -227,7 +227,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -235,7 +235,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -243,7 +243,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-declaration-with-incremental.js index a2ede3fe79c9c..9682f701faa61 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-declaration-with-incremental.js @@ -114,7 +114,7 @@ No shapes updated in the builder:: }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -123,7 +123,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -132,7 +132,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -141,7 +141,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -340,7 +340,7 @@ console.log("hi"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -349,7 +349,7 @@ console.log("hi"); }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -359,7 +359,7 @@ console.log("hi"); }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -369,7 +369,7 @@ console.log("hi"); }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js index a61a7faa7da46..6ff429d40c8f7 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js @@ -112,7 +112,7 @@ No shapes updated in the builder:: }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -121,7 +121,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -130,7 +130,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -139,7 +139,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -321,7 +321,7 @@ console.log("hi"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -330,7 +330,7 @@ console.log("hi"); }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -340,7 +340,7 @@ console.log("hi"); }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -350,7 +350,7 @@ console.log("hi"); }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js index 4c5dcfd966209..c3eb7eb93c5ee 100644 --- a/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js @@ -142,7 +142,7 @@ Output:: [HH:MM:SS AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/first/first_PART1.ts Part of 'files' list in tsconfig.json src/first/first_part2.ts @@ -154,7 +154,7 @@ src/first/first_part3.ts [HH:MM:SS AM] Building project '/src/second/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/second/second_part1.ts Matched by default include pattern '**/*' src/second/second_part2.ts @@ -164,7 +164,7 @@ src/second/second_part2.ts [HH:MM:SS AM] Building project '/src/third/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/first/bin/first-output.d.ts Output from referenced project 'src/first/tsconfig.json' included because '--outFile' specified src/2/second-output.d.ts @@ -589,7 +589,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -597,7 +597,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -605,7 +605,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -955,7 +955,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -963,7 +963,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -971,7 +971,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -979,7 +979,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1141,7 +1141,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -1149,7 +1149,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -1157,7 +1157,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -1165,7 +1165,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1224,7 +1224,7 @@ Output:: [HH:MM:SS AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/first/first_PART1.ts Part of 'files' list in tsconfig.json src/first/first_part2.ts @@ -1238,7 +1238,7 @@ src/first/first_part3.ts [HH:MM:SS AM] Building project '/src/third/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/first/bin/first-output.d.ts Output from referenced project 'src/first/tsconfig.json' included because '--outFile' specified src/2/second-output.d.ts @@ -1580,7 +1580,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -1588,7 +1588,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "-21189362626-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -1596,7 +1596,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -1604,7 +1604,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1661,7 +1661,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -1669,7 +1669,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -1677,7 +1677,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -1685,7 +1685,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1744,7 +1744,7 @@ Output:: [HH:MM:SS AM] Building project '/src/first/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/first/first_PART1.ts Part of 'files' list in tsconfig.json src/first/first_part2.ts @@ -1975,7 +1975,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -1983,7 +1983,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "-21292400928-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -1991,7 +1991,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -1999,7 +1999,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 2b22c60a3654c..9a8ba80943710 100644 --- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js @@ -186,7 +186,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -194,7 +194,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -202,7 +202,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index 4c3515cccb89c..fe8bb0ae9d624 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -67,7 +67,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -75,7 +75,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -83,7 +83,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -159,7 +159,7 @@ function f() { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -167,7 +167,7 @@ function f() { "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -175,7 +175,7 @@ function f() { "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -183,7 +183,7 @@ function f() { "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -332,7 +332,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -340,7 +340,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -348,7 +348,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -356,7 +356,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 43363ac987f3d..b6e672fc789ba 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -66,7 +66,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -74,7 +74,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -82,7 +82,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -158,7 +158,7 @@ function f() { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -166,7 +166,7 @@ function f() { "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -174,7 +174,7 @@ function f() { "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -182,7 +182,7 @@ function f() { "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -331,7 +331,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -339,7 +339,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -347,7 +347,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -355,7 +355,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 1a5cd8e28418a..617d1274eb7c3 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 @@ -224,7 +224,7 @@ function f() { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./first_part1.ts": { "original": { @@ -236,7 +236,7 @@ function f() { "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", "signature": "-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./first_part2.ts": { "original": { @@ -248,7 +248,7 @@ function f() { "version": "6007494133-console.log(f());\n", "signature": "5381-", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./first_part3.ts": { "original": { @@ -260,7 +260,7 @@ function f() { "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", "signature": "-6420944280-declare function f(): string;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -359,7 +359,7 @@ var C = (function () { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./second_part1.ts": { "original": { @@ -371,7 +371,7 @@ var C = (function () { "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", "signature": "-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./second_part2.ts": { "original": { @@ -383,7 +383,7 @@ var C = (function () { "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", "signature": "-4226833059-declare class C {\n doSomething(): void;\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -453,7 +453,7 @@ c.doSomething(); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first/first_part1.d.ts": { "original": { @@ -464,7 +464,7 @@ c.doSomething(); "version": "-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n", "signature": "-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first/first_part2.d.ts": { "original": { @@ -473,7 +473,7 @@ c.doSomething(); }, "version": "-2054710634-//# sourceMappingURL=first_part2.d.ts.map", "signature": "-2054710634-//# sourceMappingURL=first_part2.d.ts.map", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first/first_part3.d.ts": { "original": { @@ -484,7 +484,7 @@ c.doSomething(); "version": "-6420944280-declare function f(): string;\n", "signature": "-6420944280-declare function f(): string;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.d.ts": { "original": { @@ -495,7 +495,7 @@ c.doSomething(); "version": "-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n", "signature": "-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.d.ts": { "original": { @@ -506,7 +506,7 @@ c.doSomething(); "version": "-4226833059-declare class C {\n doSomething(): void;\n}\n", "signature": "-4226833059-declare class C {\n doSomething(): void;\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./third_part1.ts": { "original": { @@ -518,7 +518,7 @@ c.doSomething(); "version": "7305100057-var c = new C();\nc.doSomething();\n", "signature": "1894672131-declare var c: C;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 39303ef3fa773..a77e0ab4f7f7e 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 @@ -204,7 +204,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -212,7 +212,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -220,7 +220,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -296,7 +296,7 @@ function f() { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -304,7 +304,7 @@ function f() { "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -312,7 +312,7 @@ function f() { "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -320,7 +320,7 @@ function f() { "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -387,7 +387,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -395,7 +395,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -403,7 +403,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -411,7 +411,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -508,7 +508,7 @@ function f() { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -516,7 +516,7 @@ function f() { "impliedFormat": 1 }, "version": "-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -524,7 +524,7 @@ function f() { "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -532,7 +532,7 @@ function f() { "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -643,7 +643,7 @@ function f() { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -651,7 +651,7 @@ function f() { "impliedFormat": 1 }, "version": "-22658061710-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);console.log(s);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -659,7 +659,7 @@ function f() { "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -667,7 +667,7 @@ function f() { "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 116e74458daf4..4a567cffc71ce 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 @@ -66,7 +66,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -74,7 +74,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -82,7 +82,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -158,7 +158,7 @@ function f() { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -166,7 +166,7 @@ function f() { "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -174,7 +174,7 @@ function f() { "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -182,7 +182,7 @@ function f() { "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -331,7 +331,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -339,7 +339,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -347,7 +347,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -355,7 +355,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -459,7 +459,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -467,7 +467,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -475,7 +475,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -529,7 +529,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -537,7 +537,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -545,7 +545,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -553,7 +553,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -609,7 +609,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -617,7 +617,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -625,7 +625,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -633,7 +633,7 @@ exitCode:: ExitStatus.Success "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 0a2a6af07b7f1..5dc46c30db146 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 @@ -204,7 +204,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -212,7 +212,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -220,7 +220,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -296,7 +296,7 @@ function f() { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -304,7 +304,7 @@ function f() { "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -312,7 +312,7 @@ function f() { "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -320,7 +320,7 @@ function f() { "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 5fb7ce5b81abb..f39fc4b5e3b3e 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 @@ -67,7 +67,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -75,7 +75,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -83,7 +83,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -156,7 +156,7 @@ function f() { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -164,7 +164,7 @@ function f() { "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -172,7 +172,7 @@ function f() { "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -180,7 +180,7 @@ function f() { "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -329,7 +329,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -337,7 +337,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -345,7 +345,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -353,7 +353,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js index 7ae1ed988c161..61997217be3d8 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js @@ -555,7 +555,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -563,7 +563,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -571,7 +571,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -921,7 +921,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -929,7 +929,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -937,7 +937,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -945,7 +945,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1107,7 +1107,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -1115,7 +1115,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -1123,7 +1123,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -1131,7 +1131,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js index 8631118aaf228..721c781d5d766 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js @@ -555,7 +555,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -563,7 +563,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -571,7 +571,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -921,7 +921,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -929,7 +929,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -937,7 +937,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -945,7 +945,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1333,7 +1333,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -1341,7 +1341,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -1349,7 +1349,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -1357,7 +1357,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js index 1ef3e0483eac9..6295f4c66666b 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js @@ -556,7 +556,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -564,7 +564,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -572,7 +572,7 @@ sourceFile:../second/second_part2.ts "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -922,7 +922,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -930,7 +930,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -938,7 +938,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -946,7 +946,7 @@ sourceFile:../first_part3.ts "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1108,7 +1108,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -1116,7 +1116,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -1124,7 +1124,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -1132,7 +1132,7 @@ sourceFile:../../third_part1.ts "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 680265edc2153..90f10a78e1f19 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 @@ -204,7 +204,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part1.ts": { "original": { @@ -212,7 +212,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../second/second_part2.ts": { "original": { @@ -220,7 +220,7 @@ var C = (function () { "impliedFormat": 1 }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -296,7 +296,7 @@ function f() { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part1.ts": { "original": { @@ -304,7 +304,7 @@ function f() { "impliedFormat": 1 }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part2.ts": { "original": { @@ -312,7 +312,7 @@ function f() { "impliedFormat": 1 }, "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../first_part3.ts": { "original": { @@ -320,7 +320,7 @@ function f() { "impliedFormat": 1 }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -387,7 +387,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../first/bin/first-output.d.ts": { "original": { @@ -395,7 +395,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../2/second-output.d.ts": { "original": { @@ -403,7 +403,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../third_part1.ts": { "original": { @@ -411,7 +411,7 @@ c.doSomething(); "impliedFormat": 1 }, "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index 2de8bb7069cbd..aea69c37d4d91 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -71,7 +71,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/index.ts": { "original": { @@ -81,7 +81,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index 17453193f378c..a700b8f68f3be 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -72,7 +72,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -81,7 +81,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./types/type.ts": { "original": { @@ -90,7 +90,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "impliedFormat": 1 }, "version": "-4885977236-export type t = string;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -193,7 +193,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -203,7 +203,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./types/type.ts": { "original": { @@ -213,7 +213,7 @@ exports.x = 10; }, "version": "-4885977236-export type t = string;", "signature": "-6618426122-export type t = string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index 1c77710f782b4..314d6d3070a5f 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -112,7 +112,7 @@ exports.b = 0; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/main/b.ts": { "original": { @@ -122,7 +122,7 @@ exports.b = 0; }, "version": "-13368948254-export const b = 0;\n", "signature": "-5842658702-export declare const b = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/main/a.ts": { "original": { @@ -132,7 +132,7 @@ exports.b = 0; }, "version": "-18592354388-import { b } from './b';\nconst a = b;\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -194,7 +194,7 @@ exports.Other = 0; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/other/other.ts": { "original": { @@ -204,7 +204,7 @@ exports.Other = 0; }, "version": "-4254247902-export const Other = 0;\n", "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index e36ad96bab3f3..054a70f124f92 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -119,7 +119,7 @@ exports.Other = 0; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other/other.ts": { "original": { @@ -129,7 +129,7 @@ exports.Other = 0; }, "version": "-4254247902-export const Other = 0;\n", "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index cde260e8aa7ce..67d1914302023 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -125,7 +125,7 @@ exports.Other = 0; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other/other.ts": { "original": { @@ -135,7 +135,7 @@ exports.Other = 0; }, "version": "-4254247902-export const Other = 0;\n", "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index 8edc48f0ee6ac..8efced8acd974 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -141,7 +141,7 @@ exports.Other = 0; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main/b.ts": { "original": { @@ -151,7 +151,7 @@ exports.Other = 0; }, "version": "-13368948254-export const b = 0;\n", "signature": "-5842658702-export declare const b = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main/a.ts": { "original": { @@ -161,7 +161,7 @@ exports.Other = 0; }, "version": "-18592354388-import { b } from './b';\nconst a = b;\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -209,7 +209,7 @@ exports.Other = 0; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other/other.ts": { "original": { @@ -219,7 +219,7 @@ exports.Other = 0; }, "version": "-4254247902-export const Other = 0;\n", "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js index 49ed7f3a02eac..b1b3636256713 100644 --- a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js +++ b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js @@ -172,7 +172,7 @@ function f2() { } // trailing "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -181,7 +181,7 @@ function f2() { } // trailing }, "version": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", "signature": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -258,7 +258,7 @@ function f22() { } // trailing "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -267,7 +267,7 @@ function f22() { } // trailing }, "version": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing", "signature": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js index 18893c220791f..55a1a4a624193 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file-non-composite.js @@ -56,7 +56,7 @@ Output:: TSFILE: /src/dist/hello.json TSFILE: /src/dist/index.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' Part of 'files' list in tsconfig.json diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index c84d6812d9cdd..15637476f90c2 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -59,7 +59,7 @@ TSFILE: /src/dist/src/index.js TSFILE: /src/dist/src/index.d.ts TSFILE: /src/dist/tsconfig.tsbuildinfo lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' Part of 'files' list in tsconfig.json @@ -115,7 +115,7 @@ exports.default = hello_json_1.default.hello; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -129,7 +129,7 @@ exports.default = hello_json_1.default.hello; }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 7ea5769188c4f..7814374e9867a 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -83,7 +83,7 @@ Output:: [HH:MM:SS AM] Building project '/src/strings/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/strings/foo.json Matched by include pattern 'foo.json' in 'src/strings/tsconfig.json' [HH:MM:SS AM] Project 'src/main/tsconfig.json' is out of date because output file 'src/main/tsconfig.tsbuildinfo' does not exist @@ -91,7 +91,7 @@ src/strings/foo.json [HH:MM:SS AM] Building project '/src/main/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/strings/foo.json Imported via '../strings/foo.json' from file 'src/main/index.ts' src/main/index.ts @@ -136,7 +136,7 @@ console.log(foo_json_1.foo); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../strings/foo.json": { "version": "-6280880055-{\n \"foo\": \"bar baz\"\n}", @@ -150,7 +150,7 @@ console.log(foo_json_1.foo); }, "version": "-6647471184-import { foo } from '../strings/foo.json';\nconsole.log(foo);\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -198,7 +198,7 @@ console.log(foo_json_1.foo); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./foo.json": { "version": "-6280880055-{\n \"foo\": \"bar baz\"\n}", diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js index 0115357f878b6..56df976968973 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files-non-composite.js @@ -58,7 +58,7 @@ Output:: TSFILE: /src/dist/hello.json TSFILE: /src/dist/index.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Part of 'files' list in tsconfig.json Imported via "./hello.json" from file 'src/src/index.ts' diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index f60736ef72757..d1e0724b651e5 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -61,7 +61,7 @@ TSFILE: /src/dist/src/index.js TSFILE: /src/dist/src/index.d.ts TSFILE: /src/dist/tsconfig.tsbuildinfo lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Part of 'files' list in tsconfig.json Imported via "./hello.json" from file 'src/src/index.ts' @@ -117,7 +117,7 @@ exports.default = hello_json_1.default.hello; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -131,7 +131,7 @@ exports.default = hello_json_1.default.hello; }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js index 18f9988383ba9..577c49e239e25 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file-non-composite.js @@ -56,7 +56,7 @@ Output:: TSFILE: /src/dist/index.json TSFILE: /src/dist/index.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/index.json Imported via "./index.json" from file 'src/src/index.ts' Matched by include pattern 'src/**/*.json' in 'src/tsconfig.json' diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 7e36d85c2ff22..6765c96fec483 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -59,7 +59,7 @@ TSFILE: /src/dist/src/index.js TSFILE: /src/dist/src/index.d.ts TSFILE: /src/dist/tsconfig.tsbuildinfo lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/index.json Imported via "./index.json" from file 'src/src/index.ts' Matched by include pattern 'src/**/*.json' in 'src/tsconfig.json' @@ -115,7 +115,7 @@ exports.default = index_json_1.default.hello; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/index.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -129,7 +129,7 @@ exports.default = index_json_1.default.hello; }, "version": "-19435552038-import hello from \"./index.json\"\nexport default hello.hello\n", "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js index ee03700c0df02..a403407ec59a7 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-non-composite.js @@ -56,7 +56,7 @@ Output:: TSFILE: /src/dist/hello.json TSFILE: /src/dist/index.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' Matched by include pattern 'src/**/*.json' in 'src/tsconfig.json' diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index 7f9529af1f4cd..53127666ab41e 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -59,7 +59,7 @@ TSFILE: /src/dist/src/index.js TSFILE: /src/dist/src/index.d.ts TSFILE: /src/dist/tsconfig.tsbuildinfo lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' Matched by include pattern 'src/**/*.json' in 'src/tsconfig.json' @@ -115,7 +115,7 @@ exports.default = hello_json_1.default.hello; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -129,7 +129,7 @@ exports.default = hello_json_1.default.hello; }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js index 7441b4df52e2a..a22e1a516a75d 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-non-composite.js @@ -55,7 +55,7 @@ Output:: TSFILE: /src/dist/hello.json TSFILE: /src/dist/index.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' src/src/index.ts diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js index d9e7de5fb5b8b..fa58e40381ad0 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir-non-composite.js @@ -55,7 +55,7 @@ Output:: TSFILE: /src/dist/index.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/hello.json Imported via "../hello.json" from file 'src/src/index.ts' src/src/index.ts diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js index 13abfae92f80e..2b738ee4716e9 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js @@ -58,7 +58,7 @@ TSFILE: /src/dist/index.js TSFILE: /src/dist/index.d.ts TSFILE: /src/tsconfig.tsbuildinfo lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/hello.json Imported via "../hello.json" from file 'src/src/index.ts' src/src/index.ts @@ -107,7 +107,7 @@ exports.default = hello_json_1.default.hello; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -121,7 +121,7 @@ exports.default = hello_json_1.default.hello; }, "version": "-17927595516-import hello from \"../hello.json\"\nexport default hello.hello\n", "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js index d6534d641f9b8..eeaf173a59c59 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory-non-composite.js @@ -57,7 +57,7 @@ TSFILE: /src/dist/src/src/index.js [HH:MM:SS AM] Updating unchanged output timestamps of project '/src/tsconfig.json'... lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' hello.json Imported via "../../hello.json" from file 'src/src/index.ts' src/src/index.ts diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js index d5aea511f8358..34a13c62f932e 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js @@ -57,7 +57,7 @@ TSFILE: /src/dist/src/index.js TSFILE: /src/dist/src/index.d.ts TSFILE: /src/dist/tsconfig.tsbuildinfo lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' hello.json Imported via "../../hello.json" from file 'src/src/index.ts' src/src/index.ts @@ -106,7 +106,7 @@ exports.default = hello_json_1.default.hello; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -120,7 +120,7 @@ exports.default = hello_json_1.default.hello; }, "version": "-19695506097-import hello from \"../../hello.json\"\nexport default hello.hello\n", "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js index a4e3b6dc26541..40502ef13fa13 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir-non-composite.js @@ -53,7 +53,7 @@ Output:: TSFILE: /src/src/index.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' src/src/index.ts diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js index 6e1ba95345899..b6cba30e6c3ca 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js @@ -56,7 +56,7 @@ TSFILE: /src/src/index.js TSFILE: /src/src/index.d.ts TSFILE: /src/tsconfig.tsbuildinfo lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' src/src/index.ts @@ -105,7 +105,7 @@ exports.default = hello_json_1.default.hello; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -119,7 +119,7 @@ exports.default = hello_json_1.default.hello; }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index b67b65b8a7664..05d963ed90eba 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -60,7 +60,7 @@ Output:: TSFILE: /src/dist/tsconfig.tsbuildinfo lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' src/src/index.ts @@ -97,7 +97,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -110,7 +110,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", "signature": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js index 57efe6bcdf99d..a67d83bfc24e5 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap-non-composite.js @@ -58,7 +58,7 @@ TSFILE: /src/dist/hello.json TSFILE: /src/dist/index.js.map TSFILE: /src/dist/index.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' Part of 'files' list in tsconfig.json diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 26620a5762bab..b8f7a6ad7da85 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -61,7 +61,7 @@ TSFILE: /src/dist/src/index.js TSFILE: /src/dist/src/index.d.ts TSFILE: /src/dist/tsconfig.tsbuildinfo lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' Part of 'files' list in tsconfig.json @@ -120,7 +120,7 @@ exports.default = hello_json_1.default.hello; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -134,7 +134,7 @@ exports.default = hello_json_1.default.hello; }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js index 87dd95c90ca6b..40322367df8fc 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir-non-composite.js @@ -54,7 +54,7 @@ Output:: TSFILE: /src/src/index.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' Part of 'files' list in tsconfig.json diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index 04a9d4f296a5d..299eeed552f0c 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -57,7 +57,7 @@ TSFILE: /src/src/index.js TSFILE: /src/src/index.d.ts TSFILE: /src/tsconfig.tsbuildinfo lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src/hello.json Imported via "./hello.json" from file 'src/src/index.ts' Part of 'files' list in tsconfig.json @@ -107,7 +107,7 @@ exports.default = hello_json_1.default.hello; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -121,7 +121,7 @@ exports.default = hello_json_1.default.hello; }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js b/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js index ffe0658d2cc55..cca7bb7b54cda 100644 --- a/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js +++ b/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js @@ -195,7 +195,7 @@ exports.nonConsecutive = "hello"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -205,7 +205,7 @@ exports.nonConsecutive = "hello"; }, "version": "-10637577098-export const x = \"hello\";", "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -215,7 +215,7 @@ exports.nonConsecutive = "hello"; }, "version": "-11520681045-export const y = \"world\";", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./random.d.ts": { "original": { @@ -224,7 +224,7 @@ exports.nonConsecutive = "hello"; }, "version": "-10812219521-export const random = \"hello\";", "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./nonconsecutive.ts": { "original": { @@ -234,7 +234,7 @@ exports.nonConsecutive = "hello"; }, "version": "-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n", "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./random1.d.ts": { "original": { @@ -243,7 +243,7 @@ exports.nonConsecutive = "hello"; }, "version": "-10812219521-export const random = \"hello\";", "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./asarray1.ts": { "original": { @@ -253,7 +253,7 @@ exports.nonConsecutive = "hello"; }, "version": "-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n", "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./asarray2.ts": { "original": { @@ -263,7 +263,7 @@ exports.nonConsecutive = "hello"; }, "version": "-10637577098-export const x = \"hello\";", "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./asarray3.ts": { "original": { @@ -273,7 +273,7 @@ exports.nonConsecutive = "hello"; }, "version": "-10637577098-export const x = \"hello\";", "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./random2.d.ts": { "original": { @@ -282,7 +282,7 @@ exports.nonConsecutive = "hello"; }, "version": "-10812219521-export const random = \"hello\";", "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothernonconsecutive.ts": { "original": { @@ -292,7 +292,7 @@ exports.nonConsecutive = "hello"; }, "version": "-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n", "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -404,7 +404,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -414,7 +414,7 @@ exitCode:: ExitStatus.Success }, "version": "-11520681045-export const y = \"world\";", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./random.d.ts": { "original": { @@ -423,7 +423,7 @@ exitCode:: ExitStatus.Success }, "version": "-10812219521-export const random = \"hello\";", "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./nonconsecutive.ts": { "original": { @@ -433,7 +433,7 @@ exitCode:: ExitStatus.Success }, "version": "-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n", "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./random1.d.ts": { "original": { @@ -442,7 +442,7 @@ exitCode:: ExitStatus.Success }, "version": "-10812219521-export const random = \"hello\";", "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./asarray1.ts": { "original": { @@ -452,7 +452,7 @@ exitCode:: ExitStatus.Success }, "version": "-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n", "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./asarray2.ts": { "original": { @@ -462,7 +462,7 @@ exitCode:: ExitStatus.Success }, "version": "-10637577098-export const x = \"hello\";", "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./asarray3.ts": { "original": { @@ -472,7 +472,7 @@ exitCode:: ExitStatus.Success }, "version": "-10637577098-export const x = \"hello\";", "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./random2.d.ts": { "original": { @@ -481,7 +481,7 @@ exitCode:: ExitStatus.Success }, "version": "-10812219521-export const random = \"hello\";", "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothernonconsecutive.ts": { "original": { @@ -491,7 +491,7 @@ exitCode:: ExitStatus.Success }, "version": "-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n", "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js b/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js index 176bf4091f8fe..b273577ff3a00 100644 --- a/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js +++ b/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js @@ -99,7 +99,7 @@ exports.y = "world"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -109,7 +109,7 @@ exports.y = "world"; }, "version": "-10637577098-export const x = \"hello\";", "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./random.d.ts": { "original": { @@ -118,7 +118,7 @@ exports.y = "world"; }, "version": "-12516578989-export const random = \"world\";", "signature": "-12516578989-export const random = \"world\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -128,7 +128,7 @@ exports.y = "world"; }, "version": "-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -202,7 +202,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./random.d.ts": { "original": { @@ -211,7 +211,7 @@ exitCode:: ExitStatus.Success }, "version": "-12516578989-export const random = \"world\";", "signature": "-12516578989-export const random = \"world\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -221,7 +221,7 @@ exitCode:: ExitStatus.Success }, "version": "-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js b/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js index 8ab91ae2513d0..38a08d4f53842 100644 --- a/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js +++ b/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js @@ -118,7 +118,7 @@ exports.y = "world"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -128,7 +128,7 @@ exports.y = "world"; }, "version": "-10637577098-export const x = \"hello\";", "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -138,7 +138,7 @@ exports.y = "world"; }, "version": "-11520681045-export const y = \"world\";", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file3.ts": { "original": { @@ -148,7 +148,7 @@ exports.y = "world"; }, "version": "-11520681045-export const y = \"world\";", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file4.ts": { "original": { @@ -158,7 +158,7 @@ exports.y = "world"; }, "version": "-11520681045-export const y = \"world\";", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -227,7 +227,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -237,7 +237,7 @@ exitCode:: ExitStatus.Success }, "version": "-11520681045-export const y = \"world\";", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file3.ts": { "original": { @@ -247,7 +247,7 @@ exitCode:: ExitStatus.Success }, "version": "-11520681045-export const y = \"world\";", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file4.ts": { "original": { @@ -257,7 +257,7 @@ exitCode:: ExitStatus.Success }, "version": "-11520681045-export const y = \"world\";", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js index 5e48d47a21503..6c8b387154583 100644 --- a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -136,7 +136,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -191,7 +191,7 @@ File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a File '/lib/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -248,7 +248,7 @@ console.log('Hello, world!'); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -257,7 +257,7 @@ console.log('Hello, world!'); }, "version": "2292560907-export declare function log(str: string): void;\n", "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -266,7 +266,7 @@ console.log('Hello, world!'); }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/random.d.ts": { "original": { @@ -275,7 +275,7 @@ console.log('Hello, world!'); }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -285,7 +285,7 @@ console.log('Hello, world!'); }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -415,7 +415,7 @@ function randomFn(str) { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -425,7 +425,7 @@ function randomFn(str) { }, "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -435,7 +435,7 @@ function randomFn(str) { }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/random.ts": { "original": { @@ -445,7 +445,7 @@ function randomFn(str) { }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -536,7 +536,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -591,7 +591,7 @@ File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a File '/lib/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -638,7 +638,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -647,7 +647,7 @@ exitCode:: ExitStatus.Success }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -656,7 +656,7 @@ exitCode:: ExitStatus.Success }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/random.d.ts": { "original": { @@ -665,7 +665,7 @@ exitCode:: ExitStatus.Success }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -675,7 +675,7 @@ exitCode:: ExitStatus.Success }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -778,7 +778,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -788,7 +788,7 @@ exports.x = 10; }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -798,7 +798,7 @@ exports.x = 10; }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/random.ts": { "original": { @@ -808,7 +808,7 @@ exports.x = 10; }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -887,7 +887,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -932,7 +932,7 @@ File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a File '/lib/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -974,7 +974,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -983,7 +983,7 @@ exitCode:: ExitStatus.Success }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -992,7 +992,7 @@ exitCode:: ExitStatus.Success }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -1002,7 +1002,7 @@ exitCode:: ExitStatus.Success }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1077,7 +1077,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -1087,7 +1087,7 @@ exitCode:: ExitStatus.Success }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -1097,7 +1097,7 @@ exitCode:: ExitStatus.Success }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js index f6cb9c4ef6db5..3ff945bfe98be 100644 --- a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js @@ -136,7 +136,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -191,7 +191,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -248,7 +248,7 @@ console.log('Hello, world!'); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -257,7 +257,7 @@ console.log('Hello, world!'); }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -267,7 +267,7 @@ console.log('Hello, world!'); }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -276,7 +276,7 @@ console.log('Hello, world!'); }, "version": "2292560907-export declare function log(str: string): void;\n", "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/random.d.ts": { "original": { @@ -285,7 +285,7 @@ console.log('Hello, world!'); }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -415,7 +415,7 @@ function randomFn(str) { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -425,7 +425,7 @@ function randomFn(str) { }, "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -435,7 +435,7 @@ function randomFn(str) { }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/random.ts": { "original": { @@ -445,7 +445,7 @@ function randomFn(str) { }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -536,7 +536,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -591,7 +591,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -638,7 +638,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -647,7 +647,7 @@ exitCode:: ExitStatus.Success }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -657,7 +657,7 @@ exitCode:: ExitStatus.Success }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -666,7 +666,7 @@ exitCode:: ExitStatus.Success }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/random.d.ts": { "original": { @@ -675,7 +675,7 @@ exitCode:: ExitStatus.Success }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -778,7 +778,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -788,7 +788,7 @@ exports.x = 10; }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -798,7 +798,7 @@ exports.x = 10; }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/random.ts": { "original": { @@ -808,7 +808,7 @@ exports.x = 10; }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -887,7 +887,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -932,7 +932,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -974,7 +974,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -983,7 +983,7 @@ exitCode:: ExitStatus.Success }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -993,7 +993,7 @@ exitCode:: ExitStatus.Success }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -1002,7 +1002,7 @@ exitCode:: ExitStatus.Success }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1077,7 +1077,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -1087,7 +1087,7 @@ exitCode:: ExitStatus.Success }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -1097,7 +1097,7 @@ exitCode:: ExitStatus.Success }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js b/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js index b98bc4236d9d1..147abbfebe0d4 100644 --- a/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js +++ b/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js @@ -88,7 +88,7 @@ exports.y = "world"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -98,7 +98,7 @@ exports.y = "world"; }, "version": "-10637577098-export const x = \"hello\";", "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -108,7 +108,7 @@ exports.y = "world"; }, "version": "-11520681045-export const y = \"world\";", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -171,7 +171,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -181,7 +181,7 @@ exitCode:: ExitStatus.Success }, "version": "-11520681045-export const y = \"world\";", "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 8450d188bcd37..2eb3eb0f5d902 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 @@ -157,7 +157,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -167,7 +167,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -177,7 +177,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -188,7 +188,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -266,7 +266,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -275,7 +275,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -284,7 +284,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -294,7 +294,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -371,7 +371,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -380,7 +380,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -389,7 +389,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -398,7 +398,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -408,7 +408,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index d1d02f7cefb6b..cf1ca9aa319e3 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -168,7 +168,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -178,7 +178,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -188,7 +188,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -199,7 +199,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -277,7 +277,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -286,7 +286,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -295,7 +295,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -305,7 +305,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index b7dfb99fc099b..2e216a48c392d 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -152,7 +152,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -162,7 +162,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -172,7 +172,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -183,7 +183,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -266,7 +266,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -275,7 +275,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -284,7 +284,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -294,7 +294,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -376,7 +376,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -385,7 +385,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -394,7 +394,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -403,7 +403,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -413,7 +413,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 17006c3daf635..406a4eb36659a 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 @@ -156,7 +156,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -166,7 +166,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -176,7 +176,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -187,7 +187,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -265,7 +265,7 @@ export declare const m: typeof mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -274,7 +274,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -283,7 +283,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -293,7 +293,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -370,7 +370,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -379,7 +379,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -388,7 +388,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/out/decls/index.d.ts": { "original": { @@ -397,7 +397,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -407,7 +407,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 ed752ff05c3e8..a215c482fc10a 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 @@ -156,7 +156,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -166,7 +166,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -176,7 +176,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -187,7 +187,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -265,7 +265,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../core/index.d.ts": { "original": { @@ -274,7 +274,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../core/anothermodule.d.ts": { "original": { @@ -283,7 +283,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -293,7 +293,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -370,7 +370,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -379,7 +379,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -388,7 +388,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/outdir/index.d.ts": { "original": { @@ -397,7 +397,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -407,7 +407,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 dc1ed4372ce28..c84e53af9a077 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js @@ -156,7 +156,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -166,7 +166,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -176,7 +176,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -187,7 +187,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -265,7 +265,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -274,7 +274,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -283,7 +283,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -293,7 +293,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 9bfdc4303d801..3b5e978da63d4 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 @@ -93,7 +93,7 @@ declare const dts: any; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -103,7 +103,7 @@ declare const dts: any; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -113,7 +113,7 @@ declare const dts: any; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -124,7 +124,7 @@ declare const dts: any; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -227,7 +227,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -236,7 +236,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -245,7 +245,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -255,7 +255,7 @@ export const m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -364,7 +364,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -373,7 +373,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -382,7 +382,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -391,7 +391,7 @@ export const m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -401,7 +401,7 @@ export const m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -504,7 +504,7 @@ var m = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -516,7 +516,7 @@ var m = 10; "version": "3708260210-const m = 10;", "signature": "-357908916-declare const m = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -606,7 +606,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -616,7 +616,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -626,7 +626,7 @@ function multiply(a, b) { return a * b; } }, "version": "-17153345957-export const someString: string = \"WELCOME PLANET\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -637,7 +637,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -751,7 +751,7 @@ const m = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -763,7 +763,7 @@ const m = 10; "version": "3708260210-const m = 10;", "signature": "-357908916-declare const m = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 993367bda97b7..d0216d16b91e2 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 @@ -92,7 +92,7 @@ declare const dts: any; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -102,7 +102,7 @@ declare const dts: any; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -112,7 +112,7 @@ declare const dts: any; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -123,7 +123,7 @@ declare const dts: any; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -226,7 +226,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -235,7 +235,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -244,7 +244,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -254,7 +254,7 @@ export const m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -363,7 +363,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -372,7 +372,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -381,7 +381,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -390,7 +390,7 @@ export const m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -400,7 +400,7 @@ export const m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 10143cfa6af8d..b3e8c7a9fcb36 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js @@ -92,7 +92,7 @@ declare const dts: any; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -102,7 +102,7 @@ declare const dts: any; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -112,7 +112,7 @@ declare const dts: any; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -123,7 +123,7 @@ declare const dts: any; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -226,7 +226,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -235,7 +235,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -244,7 +244,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -254,7 +254,7 @@ export const m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -363,7 +363,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -372,7 +372,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -381,7 +381,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -390,7 +390,7 @@ export const m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -400,7 +400,7 @@ export const m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 8b74f6fed7aef..7f3dc5a7ef685 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 @@ -182,7 +182,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -192,7 +192,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -202,7 +202,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -213,7 +213,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -269,7 +269,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -278,7 +278,7 @@ function multiply(a, b) { return a * b; } }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -287,7 +287,7 @@ function multiply(a, b) { return a * b; } }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -296,7 +296,7 @@ function multiply(a, b) { return a * b; } }, "version": "-11192027815-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-11192027815-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index d334176cff0bf..35d5788d5d691 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -108,7 +108,7 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/anotherModule.ts Matched by default include pattern '**/*' core/index.ts @@ -120,7 +120,7 @@ core/some_decl.d.ts [HH:MM:SS AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' @@ -134,7 +134,7 @@ logic/index.ts [HH:MM:SS AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -206,7 +206,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -216,7 +216,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -226,7 +226,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -237,7 +237,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -315,7 +315,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -324,7 +324,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -333,7 +333,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -343,7 +343,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -420,7 +420,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -429,7 +429,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -438,7 +438,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -447,7 +447,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -457,7 +457,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -512,7 +512,7 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/anotherModule.ts Matched by default include pattern '**/*' core/index.ts @@ -524,7 +524,7 @@ core/some_decl.d.ts [HH:MM:SS AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' @@ -538,7 +538,7 @@ logic/index.ts [HH:MM:SS AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -604,7 +604,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -614,7 +614,7 @@ exports.someClass = someClass; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -624,7 +624,7 @@ exports.someClass = someClass; }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -635,7 +635,7 @@ exports.someClass = someClass; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -693,7 +693,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -702,7 +702,7 @@ exports.someClass = someClass; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -711,7 +711,7 @@ exports.someClass = someClass; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -721,7 +721,7 @@ exports.someClass = someClass; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -782,7 +782,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -791,7 +791,7 @@ exports.someClass = someClass; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -800,7 +800,7 @@ exports.someClass = someClass; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -809,7 +809,7 @@ exports.someClass = someClass; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -819,7 +819,7 @@ exports.someClass = someClass; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -875,7 +875,7 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/anotherModule.ts Matched by default include pattern '**/*' core/index.ts @@ -938,7 +938,7 @@ var someClass2 = /** @class */ (function () { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -948,7 +948,7 @@ var someClass2 = /** @class */ (function () { }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -958,7 +958,7 @@ var someClass2 = /** @class */ (function () { }, "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -969,7 +969,7 @@ var someClass2 = /** @class */ (function () { "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 0547b46cf261c..3c1dfb457d100 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 @@ -93,7 +93,7 @@ declare const dts: any; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -103,7 +103,7 @@ declare const dts: any; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -113,7 +113,7 @@ declare const dts: any; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -124,7 +124,7 @@ declare const dts: any; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -227,7 +227,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -236,7 +236,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -245,7 +245,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -255,7 +255,7 @@ export const m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -364,7 +364,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -373,7 +373,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -382,7 +382,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -391,7 +391,7 @@ export const m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -401,7 +401,7 @@ export const m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index c9ba1134bc518..436ced3c616d1 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -147,7 +147,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -157,7 +157,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -167,7 +167,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -178,7 +178,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -256,7 +256,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -265,7 +265,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -274,7 +274,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -284,7 +284,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -361,7 +361,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -370,7 +370,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -379,7 +379,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -388,7 +388,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -398,7 +398,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -485,7 +485,7 @@ function foo() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -494,7 +494,7 @@ function foo() { } }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -503,7 +503,7 @@ function foo() { } }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -513,7 +513,7 @@ function foo() { } }, "version": "-6834574773-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -613,7 +613,7 @@ export declare class cNew { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -622,7 +622,7 @@ export declare class cNew { }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -631,7 +631,7 @@ export declare class cNew { }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -641,7 +641,7 @@ export declare class cNew { }, "version": "-6419466200-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -704,7 +704,7 @@ Dts change to Logic:: After building next project "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -713,7 +713,7 @@ Dts change to Logic:: After building next project }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -722,7 +722,7 @@ Dts change to Logic:: After building next project }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -731,7 +731,7 @@ Dts change to Logic:: After building next project }, "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", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -741,7 +741,7 @@ Dts change to Logic:: After building next project }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index 1279c3301ac0a..82ee93cbce9c9 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -171,7 +171,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -181,7 +181,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -191,7 +191,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -202,7 +202,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -280,7 +280,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -289,7 +289,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -298,7 +298,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -308,7 +308,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -385,7 +385,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -394,7 +394,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -403,7 +403,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -412,7 +412,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -422,7 +422,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -529,7 +529,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -539,7 +539,7 @@ exports.someClass = someClass; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -549,7 +549,7 @@ exports.someClass = someClass; }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -560,7 +560,7 @@ exports.someClass = someClass; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -618,7 +618,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -627,7 +627,7 @@ exports.someClass = someClass; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -636,7 +636,7 @@ exports.someClass = someClass; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -646,7 +646,7 @@ exports.someClass = someClass; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -707,7 +707,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -716,7 +716,7 @@ exports.someClass = someClass; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -725,7 +725,7 @@ exports.someClass = someClass; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -734,7 +734,7 @@ exports.someClass = someClass; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -744,7 +744,7 @@ exports.someClass = someClass; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -841,7 +841,7 @@ var someClass2 = /** @class */ (function () { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -851,7 +851,7 @@ var someClass2 = /** @class */ (function () { }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -861,7 +861,7 @@ var someClass2 = /** @class */ (function () { }, "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -872,7 +872,7 @@ var someClass2 = /** @class */ (function () { "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index 6511b709b81e1..126c000e8357c 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -170,7 +170,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -180,7 +180,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -190,7 +190,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -201,7 +201,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -288,7 +288,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -297,7 +297,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -307,7 +307,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -384,7 +384,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -393,7 +393,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -402,7 +402,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -411,7 +411,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -421,7 +421,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -532,7 +532,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -542,7 +542,7 @@ exports.someClass = someClass; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -552,7 +552,7 @@ exports.someClass = someClass; }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -563,7 +563,7 @@ exports.someClass = someClass; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -621,7 +621,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -630,7 +630,7 @@ exports.someClass = someClass; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -639,7 +639,7 @@ exports.someClass = someClass; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -649,7 +649,7 @@ exports.someClass = someClass; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -710,7 +710,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -719,7 +719,7 @@ exports.someClass = someClass; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -728,7 +728,7 @@ exports.someClass = someClass; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -737,7 +737,7 @@ exports.someClass = someClass; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -747,7 +747,7 @@ exports.someClass = someClass; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -845,7 +845,7 @@ var someClass2 = /** @class */ (function () { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -855,7 +855,7 @@ var someClass2 = /** @class */ (function () { }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -865,7 +865,7 @@ var someClass2 = /** @class */ (function () { }, "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -876,7 +876,7 @@ var someClass2 = /** @class */ (function () { "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 7e32385fb3e2b..03e9da2466ed4 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 @@ -92,7 +92,7 @@ declare const dts: any; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -102,7 +102,7 @@ declare const dts: any; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -112,7 +112,7 @@ declare const dts: any; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -123,7 +123,7 @@ declare const dts: any; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -226,7 +226,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -235,7 +235,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -244,7 +244,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -254,7 +254,7 @@ export const m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -363,7 +363,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -372,7 +372,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -381,7 +381,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -390,7 +390,7 @@ export const m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -400,7 +400,7 @@ export const m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -482,7 +482,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -492,7 +492,7 @@ exitCode:: ExitStatus.Success }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -502,7 +502,7 @@ exitCode:: ExitStatus.Success }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -513,7 +513,7 @@ exitCode:: ExitStatus.Success "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -572,7 +572,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -581,7 +581,7 @@ exitCode:: ExitStatus.Success }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -590,7 +590,7 @@ exitCode:: ExitStatus.Success }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -600,7 +600,7 @@ exitCode:: ExitStatus.Success }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -662,7 +662,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -671,7 +671,7 @@ exitCode:: ExitStatus.Success }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -680,7 +680,7 @@ exitCode:: ExitStatus.Success }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -689,7 +689,7 @@ exitCode:: ExitStatus.Success }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -699,7 +699,7 @@ exitCode:: ExitStatus.Success }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 d1b84f1e59dec..8587739a33cfa 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 @@ -93,7 +93,7 @@ declare const dts: any; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -103,7 +103,7 @@ declare const dts: any; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -113,7 +113,7 @@ declare const dts: any; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -124,7 +124,7 @@ declare const dts: any; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -227,7 +227,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -236,7 +236,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -245,7 +245,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -255,7 +255,7 @@ export const m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -364,7 +364,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -373,7 +373,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -382,7 +382,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -391,7 +391,7 @@ export const m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -401,7 +401,7 @@ export const m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 17001fcddcb4a..f83b0a1a644f8 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 @@ -181,7 +181,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -191,7 +191,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -201,7 +201,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -212,7 +212,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -290,7 +290,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -299,7 +299,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -308,7 +308,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -318,7 +318,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -395,7 +395,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -404,7 +404,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -413,7 +413,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -422,7 +422,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -432,7 +432,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -526,7 +526,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -535,7 +535,7 @@ exitCode:: ExitStatus.Success }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -544,7 +544,7 @@ exitCode:: ExitStatus.Success }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -553,7 +553,7 @@ exitCode:: ExitStatus.Success }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -563,7 +563,7 @@ exitCode:: ExitStatus.Success }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 218fea389dbb7..bc9e2ffb40fae 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 @@ -93,7 +93,7 @@ declare const dts: any; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -103,7 +103,7 @@ declare const dts: any; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -113,7 +113,7 @@ declare const dts: any; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -124,7 +124,7 @@ declare const dts: any; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -227,7 +227,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -236,7 +236,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -245,7 +245,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -255,7 +255,7 @@ export const m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -364,7 +364,7 @@ export const m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -373,7 +373,7 @@ export const m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -382,7 +382,7 @@ export const m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -391,7 +391,7 @@ export const m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -401,7 +401,7 @@ export const m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js index 82e360544e129..7feba81c11c65 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js @@ -150,7 +150,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -159,7 +159,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "impliedFormat": 1 }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -170,7 +170,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js index b55355e4f43c0..0eac74c6cf2d0 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js @@ -150,7 +150,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -159,7 +159,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "impliedFormat": 1 }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -170,7 +170,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 13cb1fb6e4408..0969626b0a5b4 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -336,7 +336,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -346,7 +346,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -356,7 +356,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -367,7 +367,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -570,7 +570,7 @@ sourceFile:index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -579,7 +579,7 @@ sourceFile:index.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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -588,7 +588,7 @@ sourceFile:index.ts }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -598,7 +598,7 @@ sourceFile:index.ts }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -675,7 +675,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -684,7 +684,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -693,7 +693,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -702,7 +702,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -712,7 +712,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -977,7 +977,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -987,7 +987,7 @@ exports.someClass = someClass; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -997,7 +997,7 @@ exports.someClass = someClass; }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -1008,7 +1008,7 @@ exports.someClass = someClass; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1067,7 +1067,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1076,7 +1076,7 @@ exports.someClass = someClass; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1085,7 +1085,7 @@ exports.someClass = someClass; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1095,7 +1095,7 @@ exports.someClass = someClass; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1156,7 +1156,7 @@ exports.someClass = someClass; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1165,7 +1165,7 @@ exports.someClass = someClass; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1174,7 +1174,7 @@ exports.someClass = someClass; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -1183,7 +1183,7 @@ exports.someClass = someClass; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1193,7 +1193,7 @@ exports.someClass = someClass; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1315,7 +1315,7 @@ var someClass2 = /** @class */ (function () { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -1325,7 +1325,7 @@ var someClass2 = /** @class */ (function () { }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1335,7 +1335,7 @@ var someClass2 = /** @class */ (function () { }, "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -1346,7 +1346,7 @@ var someClass2 = /** @class */ (function () { "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1497,7 +1497,7 @@ export declare const m: typeof mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1506,7 +1506,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1515,7 +1515,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1525,7 +1525,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1587,7 +1587,7 @@ export declare const m: typeof mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1596,7 +1596,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1605,7 +1605,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/decls/index.d.ts": { "original": { @@ -1614,7 +1614,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1624,7 +1624,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js b/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js index 85e537a24fabd..ffa9a3ed8cd0c 100644 --- a/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js @@ -65,7 +65,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -74,7 +74,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 8d0a691d44e83..7e542cc062a49 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -146,7 +146,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -155,7 +155,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-3090574810-export const World = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -164,7 +164,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -175,7 +175,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -257,7 +257,7 @@ export declare function multiply(a: number, b: number): number; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -267,7 +267,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -277,7 +277,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -288,7 +288,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js index 1b4ed6ce885d4..91b7f661b3650 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js @@ -174,7 +174,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -184,7 +184,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -194,7 +194,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -205,7 +205,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -292,7 +292,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -301,7 +301,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -311,7 +311,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -388,7 +388,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -397,7 +397,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -406,7 +406,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -415,7 +415,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -425,7 +425,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -525,7 +525,7 @@ export declare function multiply(a: number, b: number): number; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -535,7 +535,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -545,7 +545,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -556,7 +556,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -658,7 +658,7 @@ export declare function multiply(a: number, b: number): number; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -668,7 +668,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -678,7 +678,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -689,7 +689,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 d709388b2735c..082b4eba7612d 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -175,7 +175,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -185,7 +185,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -195,7 +195,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -206,7 +206,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -293,7 +293,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -302,7 +302,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -312,7 +312,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -389,7 +389,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -398,7 +398,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -407,7 +407,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -416,7 +416,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -426,7 +426,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -571,7 +571,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -580,7 +580,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -589,7 +589,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -598,7 +598,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -608,7 +608,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 b2d55682eb774..c12f3c7ed727b 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 @@ -174,7 +174,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -184,7 +184,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -194,7 +194,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -205,7 +205,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -292,7 +292,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -301,7 +301,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -311,7 +311,7 @@ exports.m = mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -388,7 +388,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -397,7 +397,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -406,7 +406,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -415,7 +415,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -425,7 +425,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 5156103385e16..1158ef6f37342 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -337,7 +337,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -347,7 +347,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -357,7 +357,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -368,7 +368,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -571,7 +571,7 @@ sourceFile:index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -580,7 +580,7 @@ sourceFile:index.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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -589,7 +589,7 @@ sourceFile:index.ts }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -599,7 +599,7 @@ sourceFile:index.ts }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -677,7 +677,7 @@ exports.m = mod; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -686,7 +686,7 @@ exports.m = mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -695,7 +695,7 @@ exports.m = mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -704,7 +704,7 @@ exports.m = mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -714,7 +714,7 @@ exports.m = mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index 3097e3a471edb..ab1dfd411e180 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -146,7 +146,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -155,7 +155,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-3090574810-export const World = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -164,7 +164,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -175,7 +175,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -269,7 +269,7 @@ define(["require", "exports"], function (require, exports) { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -278,7 +278,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-3090574810-export const World = \"hello\";", "signature": "-3090574810-export const World = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -287,7 +287,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -298,7 +298,7 @@ define(["require", "exports"], function (require, exports) { "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index 1707ad95a2939..ca0814c899963 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -157,7 +157,7 @@ export function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../../../a/lib/lib.esnext.full.d.ts": { "original": { @@ -166,7 +166,7 @@ export function multiply(a, b) { return a * b; } }, "version": "8926001564-/// \n/// ", "signature": "8926001564-/// \n/// ", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -175,7 +175,7 @@ export function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-3090574810-export const World = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -184,7 +184,7 @@ export function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -195,7 +195,7 @@ export function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -294,7 +294,7 @@ function multiply(a, b) { return a * b; } }, "version": "8926001564-/// \n/// ", "signature": "8926001564-/// \n/// ", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../../../a/lib/lib.esnext.d.ts": { "original": { @@ -305,7 +305,7 @@ function multiply(a, b) { return a * b; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -314,7 +314,7 @@ function multiply(a, b) { return a * b; } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-3090574810-export const World = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -323,7 +323,7 @@ function multiply(a, b) { return a * b; } }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -334,7 +334,7 @@ function multiply(a, b) { return a * b; } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index 22e3de23a82f7..e2c3bed1687da 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -157,7 +157,7 @@ a_1.X; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -167,7 +167,7 @@ a_1.X; }, "version": "-7808316224-export class A {}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -211,7 +211,7 @@ a_1.X; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.d.ts": { "original": { @@ -220,7 +220,7 @@ a_1.X; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -230,7 +230,7 @@ a_1.X; }, "version": "-17186364832-import {A} from 'a';\nexport const b = new A();", "signature": "6078874460-import { A } from 'a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index 101c8cc204027..9b82a3c0dca1c 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -163,7 +163,7 @@ a_1.X; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -173,7 +173,7 @@ a_1.X; }, "version": "-7808316224-export class A {}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -217,7 +217,7 @@ a_1.X; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.d.ts": { "original": { @@ -226,7 +226,7 @@ a_1.X; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -236,7 +236,7 @@ a_1.X; }, "version": "-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n", "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 08dca3a4529cd..13e49a58a0f22 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 @@ -137,7 +137,7 @@ exports.A = A; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -147,7 +147,7 @@ exports.A = A; }, "version": "-7808316224-export class A {}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -185,7 +185,7 @@ exports.A = A; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -194,7 +194,7 @@ exports.A = A; }, "version": "-17186364832-import {A} from 'a';\nexport const b = new A();", "signature": "-17186364832-import {A} from 'a';\nexport const b = new A();", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js index c761cfb2d6f06..dcb5f03030f86 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js @@ -344,7 +344,7 @@ declare module "b" { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/a.ts": { "original": { @@ -352,7 +352,7 @@ declare module "b" { "impliedFormat": 1 }, "version": "-3260843409-export function fooBar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/b.ts": { "original": { @@ -360,7 +360,7 @@ declare module "b" { "impliedFormat": 1 }, "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 893f63a81d648..18563ccfeee14 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 @@ -66,7 +66,7 @@ Output:: }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -75,7 +75,7 @@ Output:: "impliedFormat": 1 }, "version": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -84,7 +84,7 @@ Output:: "impliedFormat": 1 }, "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -266,7 +266,7 @@ Output:: }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -275,7 +275,7 @@ Output:: "impliedFormat": 1 }, "version": "-3260843409-export function fooBar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -284,7 +284,7 @@ Output:: "impliedFormat": 1 }, "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -438,7 +438,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -448,7 +448,7 @@ Output:: }, "version": "-3260843409-export function fooBar() { }", "signature": "-6611919720-export declare function fooBar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -458,7 +458,7 @@ Output:: }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 c48da97479e87..12f4c9f771a2e 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -255,7 +255,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/animal.ts": { "original": { @@ -264,7 +264,7 @@ Output:: }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/dog.ts": { "original": { @@ -273,7 +273,7 @@ Output:: }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", "signature": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/index.ts": { "original": { @@ -282,7 +282,7 @@ Output:: }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", "signature": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../core/utilities.ts": { "original": { @@ -291,7 +291,7 @@ Output:: }, "version": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", "signature": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -587,7 +587,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/animal.ts": { "original": { @@ -596,7 +596,7 @@ Output:: }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/dog.ts": { "original": { @@ -606,7 +606,7 @@ Output:: }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/index.ts": { "original": { @@ -616,7 +616,7 @@ Output:: }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../core/utilities.ts": { "original": { @@ -626,7 +626,7 @@ Output:: }, "version": "-11321611519-\nimport * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index 6a76abde12540..c00648eb1c8f6 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -269,7 +269,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../core/utilities.ts": { "original": { @@ -279,7 +279,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; }, "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -414,7 +414,7 @@ export declare function createDog(): Dog; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/animal.ts": { "original": { @@ -423,7 +423,7 @@ export declare function createDog(): Dog; }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/index.ts": { "original": { @@ -433,7 +433,7 @@ export declare function createDog(): Dog; }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/utilities.d.ts": { "original": { @@ -442,7 +442,7 @@ export declare function createDog(): Dog; }, "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/dog.ts": { "original": { @@ -452,7 +452,7 @@ export declare function createDog(): Dog; }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -547,7 +547,7 @@ export declare function createZoo(): Array; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../animals/animal.d.ts": { "original": { @@ -556,7 +556,7 @@ export declare function createZoo(): Array; }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../animals/dog.d.ts": { "original": { @@ -565,7 +565,7 @@ export declare function createZoo(): Array; }, "version": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../animals/index.d.ts": { "original": { @@ -574,7 +574,7 @@ export declare function createZoo(): Array; }, "version": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../zoo/zoo.ts": { "original": { @@ -584,7 +584,7 @@ export declare function createZoo(): Array; }, "version": "13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n", "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js b/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js index 025efd0a3faad..d7ff83b2098f9 100644 --- a/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js +++ b/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js @@ -154,7 +154,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -414,7 +414,7 @@ File '/package.json' does not exist according to earlier cached lookups. [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/projects/myproject/tsconfig.json'... ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js index 50d53e3670129..4bc02d57fdac1 100644 --- a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js @@ -620,7 +620,7 @@ export declare const x = "type1"; "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -631,7 +631,7 @@ export declare const x = "type1"; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -642,7 +642,7 @@ export declare const x = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -653,7 +653,7 @@ export declare const x = "type1"; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -662,7 +662,7 @@ export declare const x = "type1"; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -672,7 +672,7 @@ export declare const x = "type1"; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -682,7 +682,7 @@ export declare const x = "type1"; }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -692,7 +692,7 @@ export declare const x = "type1"; }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -701,7 +701,7 @@ export declare const x = "type1"; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -710,7 +710,7 @@ export declare const x = "type1"; }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -771,7 +771,7 @@ export declare const y = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -782,7 +782,7 @@ export declare const y = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -792,7 +792,7 @@ export declare const y = 10; }, "version": "-11999455899-export const y = 10", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -801,7 +801,7 @@ export declare const y = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -856,7 +856,7 @@ export declare const z = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -867,7 +867,7 @@ export declare const z = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -877,7 +877,7 @@ export declare const z = 10; }, "version": "-11960320506-export const z = 10", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -886,7 +886,7 @@ export declare const z = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -942,7 +942,7 @@ export declare const z = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -953,7 +953,7 @@ export declare const z = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { @@ -964,7 +964,7 @@ export declare const z = 10; "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -974,7 +974,7 @@ export declare const z = 10; }, "version": "-11960320506-export const z = 10", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -983,7 +983,7 @@ export declare const z = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js index 2b259a97be2bb..2c786c36fb7f4 100644 --- a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js @@ -602,7 +602,7 @@ export declare const x = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -613,7 +613,7 @@ export declare const x = "type1"; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -624,7 +624,7 @@ export declare const x = "type1"; "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -635,7 +635,7 @@ export declare const x = "type1"; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -644,7 +644,7 @@ export declare const x = "type1"; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -654,7 +654,7 @@ export declare const x = "type1"; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -664,7 +664,7 @@ export declare const x = "type1"; }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -674,7 +674,7 @@ export declare const x = "type1"; }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -683,7 +683,7 @@ export declare const x = "type1"; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -692,7 +692,7 @@ export declare const x = "type1"; }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -753,7 +753,7 @@ export declare const y = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -764,7 +764,7 @@ export declare const y = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -774,7 +774,7 @@ export declare const y = 10; }, "version": "-11999455899-export const y = 10", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -783,7 +783,7 @@ export declare const y = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -838,7 +838,7 @@ export declare const z = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -849,7 +849,7 @@ export declare const z = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -859,7 +859,7 @@ export declare const z = 10; }, "version": "-11960320506-export const z = 10", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -868,7 +868,7 @@ export declare const z = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -924,7 +924,7 @@ export declare const z = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -935,7 +935,7 @@ export declare const z = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -946,7 +946,7 @@ export declare const z = 10; "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -956,7 +956,7 @@ export declare const z = 10; }, "version": "-11960320506-export const z = 10", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -965,7 +965,7 @@ export declare const z = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 48f1cfa11bacc..246bcb4942f32 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -188,7 +188,7 @@ export type TheStr = string; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../const.ts": { "original": { @@ -198,7 +198,7 @@ export type TheStr = string; }, "version": "-11202312776-export type TheNum = 42;", "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -208,7 +208,7 @@ export type TheStr = string; }, "version": "-11225381282-export type { TheNum } from './const.js';", "signature": "-9660329432-export type { TheNum } from './const.js';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../other.ts": { "original": { @@ -218,7 +218,7 @@ export type TheStr = string; }, "version": "-4609154030-export type TheStr = string;", "signature": "-6073194916-export type TheStr = string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 3ab77986a2c8d..d2dd23ac2e37c 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -173,7 +173,7 @@ export type { TheNum } from './const.cjs'; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../const.cts": { "original": { @@ -183,7 +183,7 @@ export type { TheNum } from './const.cjs'; }, "version": "-11202312776-export type TheNum = 42;", "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -193,7 +193,7 @@ export type { TheNum } from './const.cjs'; }, "version": "-9668872159-export type { TheNum } from './const.cjs';", "signature": "-9835135925-export type { TheNum } from './const.cjs';\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -689,7 +689,7 @@ File '/package.json' does not exist. "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../const.cts": { "original": { @@ -699,7 +699,7 @@ File '/package.json' does not exist. }, "version": "-11202312776-export type TheNum = 42;", "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.cts": { "original": { @@ -709,7 +709,7 @@ File '/package.json' does not exist. }, "version": "-9668872159-export type { TheNum } from './const.cjs';", "signature": "-9835135925-export type { TheNum } from './const.cjs';\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index 8ee289dae9ded..b19c23254b0ab 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -132,7 +132,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/file/index.d.ts": { "original": { @@ -141,7 +141,7 @@ export {}; }, "version": "-12737086933-export const foo = 10;", "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -151,7 +151,7 @@ export {}; }, "version": "-4708082513-import { foo } from \"file\";", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@types/foo/index.d.ts": { "original": { @@ -160,7 +160,7 @@ export {}; }, "version": "-12737086933-export const foo = 10;", "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@types/bar/index.d.ts": { "original": { @@ -169,7 +169,7 @@ export {}; }, "version": "-12042713060-export const bar = 10;", "signature": "-12042713060-export const bar = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -228,7 +228,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.d.ts": { "original": { @@ -237,7 +237,7 @@ export {}; }, "version": "-12737086933-export const foo = 10;", "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -247,7 +247,7 @@ export {}; }, "version": "-4708082513-import { foo } from \"file\";", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@types/foo/index.d.ts": { "original": { @@ -256,7 +256,7 @@ export {}; }, "version": "-12737086933-export const foo = 10;", "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -452,7 +452,7 @@ var bar = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/file/index.d.ts": { "original": { @@ -461,7 +461,7 @@ var bar = 10; }, "version": "-12737086933-export const foo = 10;", "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -471,7 +471,7 @@ var bar = 10; }, "version": "-7561100220-import { foo } from \"file\";const bar = 10;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@types/foo/index.d.ts": { "original": { @@ -480,7 +480,7 @@ var bar = 10; }, "version": "-12737086933-export const foo = 10;", "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@types/bar/index.d.ts": { "original": { @@ -489,7 +489,7 @@ var bar = 10; }, "version": "-12042713060-export const bar = 10;", "signature": "-12042713060-export const bar = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 4a7396149e27d..0598046a76ad7 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 @@ -67,7 +67,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.js": { "original": { @@ -76,7 +76,7 @@ Output:: }, "version": "5381-", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -85,7 +85,7 @@ Output:: }, "version": "5381-", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -249,7 +249,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.js": { "original": { @@ -261,7 +261,7 @@ Output:: "version": "5029505981-const x = 10;", "signature": "-3042032780-declare const x: 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -270,7 +270,7 @@ Output:: }, "version": "5381-", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration-with-incremental.js index 7d5df8d8fbb7c..e75de443e1e5f 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration-with-incremental.js @@ -269,7 +269,7 @@ declare module "src/other" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -277,7 +277,7 @@ declare module "src/other" { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -285,7 +285,7 @@ declare module "src/other" { "impliedFormat": 1 }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -293,7 +293,7 @@ declare module "src/other" { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -535,7 +535,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -543,7 +543,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -551,7 +551,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -559,7 +559,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-incremental.js index 9144875945f7a..8eac1e296bb42 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-incremental.js @@ -254,7 +254,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -262,7 +262,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -270,7 +270,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -278,7 +278,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -515,7 +515,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -523,7 +523,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -531,7 +531,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -539,7 +539,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration-with-incremental.js index 2388b0939c527..bf0effe9b9841 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration-with-incremental.js @@ -92,7 +92,7 @@ Output:: }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -101,7 +101,7 @@ Output:: "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -110,7 +110,7 @@ Output:: "impliedFormat": 1 }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -119,7 +119,7 @@ Output:: "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -334,7 +334,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -343,7 +343,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -353,7 +353,7 @@ Output:: }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -363,7 +363,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -523,7 +523,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -532,7 +532,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -542,7 +542,7 @@ Output:: }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -552,7 +552,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -746,7 +746,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -755,7 +755,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -765,7 +765,7 @@ Output:: }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -775,7 +775,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 605642a38d5c4..bab486118b150 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 @@ -91,7 +91,7 @@ Output:: }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -100,7 +100,7 @@ Output:: "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -109,7 +109,7 @@ Output:: "impliedFormat": 1 }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -118,7 +118,7 @@ Output:: "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -330,7 +330,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -339,7 +339,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -349,7 +349,7 @@ Output:: }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -359,7 +359,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -503,7 +503,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -512,7 +512,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -522,7 +522,7 @@ Output:: }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -532,7 +532,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -723,7 +723,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -732,7 +732,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -742,7 +742,7 @@ Output:: }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -752,7 +752,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 10138e7d9ae37..a005dc7a18230 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 @@ -158,7 +158,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -168,7 +168,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -178,7 +178,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -189,7 +189,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -267,7 +267,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -276,7 +276,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -285,7 +285,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -295,7 +295,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -372,7 +372,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -381,7 +381,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -390,7 +390,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -399,7 +399,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -409,7 +409,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 0d2eea58e9b7e..73b29e52b8fdc 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 @@ -175,7 +175,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -185,7 +185,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -195,7 +195,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -206,7 +206,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -293,7 +293,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -302,7 +302,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -312,7 +312,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -389,7 +389,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -398,7 +398,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -407,7 +407,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -416,7 +416,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -426,7 +426,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -684,7 +684,7 @@ function someFn() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -693,7 +693,7 @@ function someFn() { } }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -702,7 +702,7 @@ function someFn() { } }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -712,7 +712,7 @@ function someFn() { } }, "version": "-12844299335-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nfunction someFn() { }", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -854,7 +854,7 @@ export declare function someFn(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -863,7 +863,7 @@ export declare function someFn(): void; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -872,7 +872,7 @@ export declare function someFn(): void; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -882,7 +882,7 @@ export declare function someFn(): void; }, "version": "-5790226213-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -961,7 +961,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -970,7 +970,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -979,7 +979,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -988,7 +988,7 @@ Output:: }, "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", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -998,7 +998,7 @@ Output:: }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index e75302218015c..39a73ec08e5a7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -97,7 +97,7 @@ export declare class myClass { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewitherror.ts": { "original": { @@ -107,7 +107,7 @@ export declare class myClass { }, "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewithouterror.ts": { "original": { @@ -117,7 +117,7 @@ export declare class myClass { }, "version": "-11785903855-export class myClass { }", "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -249,7 +249,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewitherror.ts": { "original": { @@ -259,7 +259,7 @@ Output:: }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewithouterror.ts": { "original": { @@ -269,7 +269,7 @@ Output:: }, "version": "-11785903855-export class myClass { }", "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -377,7 +377,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewitherror.ts": { "original": { @@ -387,7 +387,7 @@ Output:: }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewithouterror.ts": { "original": { @@ -397,7 +397,7 @@ Output:: }, "version": "-10959532701-export class myClass2 { }", "signature": "-8459626297-export declare class myClass2 {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index 3b0d5b7ffa758..8c92f4854fb9c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -97,7 +97,7 @@ export declare class myClass { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewitherror.ts": { "original": { @@ -107,7 +107,7 @@ export declare class myClass { }, "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewithouterror.ts": { "original": { @@ -117,7 +117,7 @@ export declare class myClass { }, "version": "-11785903855-export class myClass { }", "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -249,7 +249,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewitherror.ts": { "original": { @@ -259,7 +259,7 @@ Output:: }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewithouterror.ts": { "original": { @@ -269,7 +269,7 @@ Output:: }, "version": "-11785903855-export class myClass { }", "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -376,7 +376,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewitherror.ts": { "original": { @@ -386,7 +386,7 @@ Output:: }, "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewithouterror.ts": { "original": { @@ -396,7 +396,7 @@ Output:: }, "version": "-11785903855-export class myClass { }", "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index 0ff91c44d73c9..0efbf52d9189c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -65,7 +65,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewitherror.ts": { "original": { @@ -74,7 +74,7 @@ Output:: }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", "signature": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewithouterror.ts": { "original": { @@ -84,7 +84,7 @@ Output:: }, "version": "-11785903855-export class myClass { }", "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -226,7 +226,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewitherror.ts": { "original": { @@ -235,7 +235,7 @@ Output:: }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", "signature": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewithouterror.ts": { "original": { @@ -245,7 +245,7 @@ Output:: }, "version": "-10959532701-export class myClass2 { }", "signature": "-8459626297-export declare class myClass2 {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index f3e3313a11208..cb3840e980021 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -65,7 +65,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewitherror.ts": { "original": { @@ -74,7 +74,7 @@ Output:: }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", "signature": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewithouterror.ts": { "original": { @@ -84,7 +84,7 @@ Output:: }, "version": "-11785903855-export class myClass { }", "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -224,7 +224,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewitherror.ts": { "original": { @@ -234,7 +234,7 @@ Output:: }, "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./filewithouterror.ts": { "original": { @@ -244,7 +244,7 @@ Output:: }, "version": "-11785903855-export class myClass { }", "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 81a0da2d77734..4b032d0662f58 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 @@ -158,7 +158,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -168,7 +168,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -178,7 +178,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -189,7 +189,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -267,7 +267,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -276,7 +276,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -285,7 +285,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -295,7 +295,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -372,7 +372,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -381,7 +381,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -390,7 +390,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -399,7 +399,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -409,7 +409,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -647,7 +647,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -656,7 +656,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -665,7 +665,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -675,7 +675,7 @@ Output:: }, "version": "-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -810,7 +810,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -820,7 +820,7 @@ Output:: }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -830,7 +830,7 @@ Output:: }, "version": "-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -841,7 +841,7 @@ Output:: "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 06b4dbb2ca78e..ce892efdf23ae 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 @@ -157,7 +157,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -167,7 +167,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -177,7 +177,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -188,7 +188,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -266,7 +266,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -275,7 +275,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -284,7 +284,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -294,7 +294,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -371,7 +371,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -380,7 +380,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -389,7 +389,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -398,7 +398,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -408,7 +408,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -648,7 +648,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -657,7 +657,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -666,7 +666,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -676,7 +676,7 @@ Output:: }, "version": "-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -811,7 +811,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -821,7 +821,7 @@ Output:: }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -831,7 +831,7 @@ Output:: }, "version": "-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -842,7 +842,7 @@ Output:: "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 79724e1d6e05f..0cefd68274d9d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -157,7 +157,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../anothermodule.ts": { "original": { @@ -167,7 +167,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -177,7 +177,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../some_decl.d.ts": { "original": { @@ -188,7 +188,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -336,7 +336,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../anothermodule.ts": { "original": { @@ -346,7 +346,7 @@ Output:: }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../file3.ts": { "original": { @@ -356,7 +356,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -366,7 +366,7 @@ Output:: }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../some_decl.d.ts": { "original": { @@ -377,7 +377,7 @@ Output:: "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 964766191f926..9d0ddc5c71df3 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -165,7 +165,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -175,7 +175,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -185,7 +185,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -196,7 +196,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -348,7 +348,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -358,7 +358,7 @@ Output:: }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file3.ts": { "original": { @@ -368,7 +368,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -378,7 +378,7 @@ Output:: }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -389,7 +389,7 @@ Output:: "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js b/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js index f37f75cb235f1..79b19fee94e18 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js @@ -59,7 +59,7 @@ exports.x = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -68,7 +68,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 6ef09fd0797c5..ec58fb1b0a2c3 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 @@ -158,7 +158,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -168,7 +168,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -178,7 +178,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -189,7 +189,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -267,7 +267,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -276,7 +276,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -285,7 +285,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -295,7 +295,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 12310a5f2c8df..8a67cfc255b40 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 @@ -144,7 +144,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -154,7 +154,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -164,7 +164,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -175,7 +175,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -406,7 +406,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -415,7 +415,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -424,7 +424,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -434,7 +434,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -605,7 +605,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -614,7 +614,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -623,7 +623,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -632,7 +632,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -642,7 +642,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index 78a515e4fae0b..ad156b736c41d 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -96,7 +96,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./library.ts": { "original": { @@ -106,7 +106,7 @@ export {}; }, "version": "5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}", "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./library.ts": { "original": { @@ -295,7 +295,7 @@ export {}; }, "version": "-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}", "signature": "1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -452,7 +452,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./library.ts": { "original": { @@ -462,7 +462,7 @@ export {}; }, "version": "5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}", "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 531e536a264f7..7cb863bf75eea 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -156,7 +156,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -166,7 +166,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -176,7 +176,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -187,7 +187,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -263,7 +263,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -272,7 +272,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -281,7 +281,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -291,7 +291,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -368,7 +368,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -377,7 +377,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -386,7 +386,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -395,7 +395,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -405,7 +405,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -622,7 +622,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -632,7 +632,7 @@ Output:: }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -642,7 +642,7 @@ Output:: }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./newfile.ts": { "original": { @@ -652,7 +652,7 @@ Output:: }, "version": "-16320201030-export const newFileConst = 30;", "signature": "-22941483372-export declare const newFileConst = 30;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -663,7 +663,7 @@ Output:: "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -893,7 +893,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -903,7 +903,7 @@ Output:: }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -913,7 +913,7 @@ Output:: }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./newfile.ts": { "original": { @@ -923,7 +923,7 @@ Output:: }, "version": "-9703836816-export const newFileConst = 30;\nexport class someClass2 { }", "signature": "-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -934,7 +934,7 @@ Output:: "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index cb683743c4223..59d521c26c93a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -156,7 +156,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -166,7 +166,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -176,7 +176,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -187,7 +187,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -263,7 +263,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -272,7 +272,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -281,7 +281,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -291,7 +291,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -368,7 +368,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -377,7 +377,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -386,7 +386,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -395,7 +395,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -405,7 +405,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -650,7 +650,7 @@ export declare class someClass { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -660,7 +660,7 @@ export declare class someClass { }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -670,7 +670,7 @@ export declare class someClass { }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -681,7 +681,7 @@ export declare class someClass { "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -782,7 +782,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -791,7 +791,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -800,7 +800,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -810,7 +810,7 @@ Output:: }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -871,7 +871,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -880,7 +880,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -889,7 +889,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -898,7 +898,7 @@ Output:: }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -908,7 +908,7 @@ Output:: }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1059,7 +1059,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -1069,7 +1069,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1079,7 +1079,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -1090,7 +1090,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1191,7 +1191,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1200,7 +1200,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1209,7 +1209,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1219,7 +1219,7 @@ Output:: }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1280,7 +1280,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1289,7 +1289,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1298,7 +1298,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -1307,7 +1307,7 @@ Output:: }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1317,7 +1317,7 @@ Output:: }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1486,7 +1486,7 @@ export declare class someClass2 { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -1496,7 +1496,7 @@ export declare class someClass2 { }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1506,7 +1506,7 @@ export declare class someClass2 { }, "version": "-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -1517,7 +1517,7 @@ export declare class someClass2 { "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1618,7 +1618,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1627,7 +1627,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1636,7 +1636,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1646,7 +1646,7 @@ Output:: }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1707,7 +1707,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1716,7 +1716,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1725,7 +1725,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -1734,7 +1734,7 @@ Output:: }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1744,7 +1744,7 @@ Output:: }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 9e75d9f49e3fc..c95d71ee59db6 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -156,7 +156,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -166,7 +166,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -176,7 +176,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -187,7 +187,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -263,7 +263,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -272,7 +272,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -281,7 +281,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -291,7 +291,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -368,7 +368,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -377,7 +377,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -386,7 +386,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -395,7 +395,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -405,7 +405,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -639,7 +639,7 @@ function foo() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -649,7 +649,7 @@ function foo() { } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -659,7 +659,7 @@ function foo() { } }, "version": "-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -670,7 +670,7 @@ function foo() { } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js index f3acae27547bd..3c6e89409f6cc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js @@ -77,7 +77,7 @@ declare function foo(): number; "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -85,7 +85,7 @@ declare function foo(): number; "impliedFormat": 1 }, "version": "5450201652-function foo() { return 10; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -133,7 +133,7 @@ declare function bar(): number; "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -141,7 +141,7 @@ declare function bar(): number; "impliedFormat": 1 }, "version": "517738360-declare function foo(): number;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -149,7 +149,7 @@ declare function bar(): number; "impliedFormat": 1 }, "version": "5542925109-function bar() { return foo() + 1 };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -297,7 +297,7 @@ declare function myFunc(): number; "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -305,7 +305,7 @@ declare function myFunc(): number; "impliedFormat": 1 }, "version": "-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -385,7 +385,7 @@ Output:: "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -393,7 +393,7 @@ Output:: "impliedFormat": 1 }, "version": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -401,7 +401,7 @@ Output:: "impliedFormat": 1 }, "version": "5542925109-function bar() { return foo() + 1 };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -492,7 +492,7 @@ function myFunc() { return 100; } "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -500,7 +500,7 @@ function myFunc() { return 100; } "impliedFormat": 1 }, "version": "-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 13481c0e7d43d..ca52a42869bf7 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 @@ -158,7 +158,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -168,7 +168,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -178,7 +178,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -189,7 +189,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -267,7 +267,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -276,7 +276,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -285,7 +285,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -295,7 +295,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -372,7 +372,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -381,7 +381,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -390,7 +390,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -399,7 +399,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -409,7 +409,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -628,7 +628,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -638,7 +638,7 @@ Output:: }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -648,7 +648,7 @@ Output:: }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./newfile.ts": { "original": { @@ -658,7 +658,7 @@ Output:: }, "version": "-16320201030-export const newFileConst = 30;", "signature": "-22941483372-export declare const newFileConst = 30;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -669,7 +669,7 @@ Output:: "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -906,7 +906,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -916,7 +916,7 @@ Output:: }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -926,7 +926,7 @@ Output:: }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./newfile.ts": { "original": { @@ -936,7 +936,7 @@ Output:: }, "version": "-9703836816-export const newFileConst = 30;\nexport class someClass2 { }", "signature": "-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -947,7 +947,7 @@ Output:: "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 d4bd6718690f1..a67c632114706 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 @@ -158,7 +158,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -168,7 +168,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -178,7 +178,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -189,7 +189,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -267,7 +267,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -276,7 +276,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -285,7 +285,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -295,7 +295,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -372,7 +372,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -381,7 +381,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -390,7 +390,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -399,7 +399,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -409,7 +409,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -659,7 +659,7 @@ export declare class someClass { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -669,7 +669,7 @@ export declare class someClass { }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -679,7 +679,7 @@ export declare class someClass { }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -690,7 +690,7 @@ export declare class someClass { "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -795,7 +795,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -804,7 +804,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -813,7 +813,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -823,7 +823,7 @@ Output:: }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -884,7 +884,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -893,7 +893,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -902,7 +902,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -911,7 +911,7 @@ Output:: }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -921,7 +921,7 @@ Output:: }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1075,7 +1075,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -1085,7 +1085,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1095,7 +1095,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -1106,7 +1106,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1211,7 +1211,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1220,7 +1220,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1229,7 +1229,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1239,7 +1239,7 @@ Output:: }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1300,7 +1300,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1309,7 +1309,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1318,7 +1318,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -1327,7 +1327,7 @@ Output:: }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1337,7 +1337,7 @@ Output:: }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1509,7 +1509,7 @@ export declare class someClass2 { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -1519,7 +1519,7 @@ export declare class someClass2 { }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1529,7 +1529,7 @@ export declare class someClass2 { }, "version": "-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -1540,7 +1540,7 @@ export declare class someClass2 { "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1645,7 +1645,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1654,7 +1654,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1663,7 +1663,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1673,7 +1673,7 @@ Output:: }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1734,7 +1734,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1743,7 +1743,7 @@ Output:: }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1752,7 +1752,7 @@ Output:: }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -1761,7 +1761,7 @@ Output:: }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1771,7 +1771,7 @@ Output:: }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 a1af1b0d6e9b5..1c8bd1842e466 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 @@ -158,7 +158,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -168,7 +168,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -178,7 +178,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -189,7 +189,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -267,7 +267,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -276,7 +276,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -285,7 +285,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -295,7 +295,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -372,7 +372,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -381,7 +381,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -390,7 +390,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -399,7 +399,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -409,7 +409,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -646,7 +646,7 @@ function foo() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -656,7 +656,7 @@ function foo() { } }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -666,7 +666,7 @@ function foo() { } }, "version": "-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -677,7 +677,7 @@ function foo() { } "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index 96b0b6ba76838..2a03a3b8edb85 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -134,7 +134,7 @@ declare let y: number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./commonfile1.ts": { "original": { @@ -146,7 +146,7 @@ declare let y: number; "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./commonfile2.ts": { "original": { @@ -158,7 +158,7 @@ declare let y: number; "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -210,7 +210,7 @@ declare let z: number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -222,7 +222,7 @@ declare let z: number; "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 9eeae022a2df3..9b2a15f0a5811 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -156,7 +156,7 @@ declare let y: number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./commonfile1.ts": { "original": { @@ -168,7 +168,7 @@ declare let y: number; "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./commonfile2.ts": { "original": { @@ -180,7 +180,7 @@ declare let y: number; "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -230,7 +230,7 @@ declare let z: number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -242,7 +242,7 @@ declare let z: number; "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -432,7 +432,7 @@ var y = 1; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./commonfile1.ts": { "original": { @@ -444,7 +444,7 @@ var y = 1; "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./commonfile2.ts": { "original": { @@ -456,7 +456,7 @@ var y = 1; "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -552,7 +552,7 @@ var z = 0; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -564,7 +564,7 @@ var z = 0; "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -663,7 +663,7 @@ var z = 0; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -675,7 +675,7 @@ var z = 0; "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -891,7 +891,7 @@ var y = 1; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./commonfile1.ts": { "original": { @@ -903,7 +903,7 @@ var y = 1; "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./commonfile2.ts": { "original": { @@ -915,7 +915,7 @@ var y = 1; "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js index 96eb06c229c41..6c8d5aac386b1 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js @@ -588,7 +588,7 @@ export declare const pkg0 = 0; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -598,7 +598,7 @@ export declare const pkg0 = 0; }, "version": "-10197922616-export const pkg0 = 0;", "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -647,7 +647,7 @@ export declare const pkg1 = 1; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -657,7 +657,7 @@ export declare const pkg1 = 1; }, "version": "-10158787190-export const pkg1 = 1;", "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -706,7 +706,7 @@ export declare const pkg2 = 2; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -716,7 +716,7 @@ export declare const pkg2 = 2; }, "version": "-14414619060-export const pkg2 = 2;", "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -765,7 +765,7 @@ export declare const pkg3 = 3; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -775,7 +775,7 @@ export declare const pkg3 = 3; }, "version": "-14375483634-export const pkg3 = 3;", "signature": "-5242392728-export declare const pkg3 = 3;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -824,7 +824,7 @@ export declare const pkg4 = 4; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -834,7 +834,7 @@ export declare const pkg4 = 4; }, "version": "-14336348208-export const pkg4 = 4;", "signature": "-3950923670-export declare const pkg4 = 4;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -883,7 +883,7 @@ export declare const pkg5 = 5; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -893,7 +893,7 @@ export declare const pkg5 = 5; }, "version": "-14297212782-export const pkg5 = 5;", "signature": "-2659454612-export declare const pkg5 = 5;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -942,7 +942,7 @@ export declare const pkg6 = 6; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -952,7 +952,7 @@ export declare const pkg6 = 6; }, "version": "-14258077356-export const pkg6 = 6;", "signature": "-5662952850-export declare const pkg6 = 6;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1001,7 +1001,7 @@ export declare const pkg7 = 7; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1011,7 +1011,7 @@ export declare const pkg7 = 7; }, "version": "-14218941930-export const pkg7 = 7;", "signature": "-4371483792-export declare const pkg7 = 7;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1060,7 +1060,7 @@ export declare const pkg8 = 8; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1070,7 +1070,7 @@ export declare const pkg8 = 8; }, "version": "-14179806504-export const pkg8 = 8;", "signature": "-3080014734-export declare const pkg8 = 8;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1119,7 +1119,7 @@ export declare const pkg9 = 9; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1129,7 +1129,7 @@ export declare const pkg9 = 9; }, "version": "-14140671078-export const pkg9 = 9;", "signature": "-6083512972-export declare const pkg9 = 9;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1178,7 +1178,7 @@ export declare const pkg10 = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1188,7 +1188,7 @@ export declare const pkg10 = 10; }, "version": "-9585933846-export const pkg10 = 10;", "signature": "-3553269308-export declare const pkg10 = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1237,7 +1237,7 @@ export declare const pkg11 = 11; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1247,7 +1247,7 @@ export declare const pkg11 = 11; }, "version": "-8294465844-export const pkg11 = 11;", "signature": "410469094-export declare const pkg11 = 11;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1296,7 +1296,7 @@ export declare const pkg12 = 12; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1306,7 +1306,7 @@ export declare const pkg12 = 12; }, "version": "-7002997842-export const pkg12 = 12;", "signature": "-4215727096-export declare const pkg12 = 12;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1355,7 +1355,7 @@ export declare const pkg13 = 13; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1365,7 +1365,7 @@ export declare const pkg13 = 13; }, "version": "-10006497136-export const pkg13 = 13;", "signature": "-4546955990-export declare const pkg13 = 13;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1414,7 +1414,7 @@ export declare const pkg14 = 14; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1424,7 +1424,7 @@ export declare const pkg14 = 14; }, "version": "-8715029134-export const pkg14 = 14;", "signature": "-583217588-export declare const pkg14 = 14;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1473,7 +1473,7 @@ export declare const pkg15 = 15; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1483,7 +1483,7 @@ export declare const pkg15 = 15; }, "version": "-7423561132-export const pkg15 = 15;", "signature": "-5209413778-export declare const pkg15 = 15;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1532,7 +1532,7 @@ export declare const pkg16 = 16; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1542,7 +1542,7 @@ export declare const pkg16 = 16; }, "version": "-6132093130-export const pkg16 = 16;", "signature": "-1245675376-export declare const pkg16 = 16;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1591,7 +1591,7 @@ export declare const pkg17 = 17; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1601,7 +1601,7 @@ export declare const pkg17 = 17; }, "version": "-17725527016-export const pkg17 = 17;", "signature": "-1576904270-export declare const pkg17 = 17;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1650,7 +1650,7 @@ export declare const pkg18 = 18; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1660,7 +1660,7 @@ export declare const pkg18 = 18; }, "version": "-16434059014-export const pkg18 = 18;", "signature": "-1908133164-export declare const pkg18 = 18;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1709,7 +1709,7 @@ export declare const pkg19 = 19; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1719,7 +1719,7 @@ export declare const pkg19 = 19; }, "version": "-15142591012-export const pkg19 = 19;", "signature": "-2239362058-export declare const pkg19 = 19;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1768,7 +1768,7 @@ export declare const pkg20 = 20; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1778,7 +1778,7 @@ export declare const pkg20 = 20; }, "version": "-14212130036-export const pkg20 = 20;", "signature": "-5893888218-export declare const pkg20 = 20;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1827,7 +1827,7 @@ export declare const pkg21 = 21; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1837,7 +1837,7 @@ export declare const pkg21 = 21; }, "version": "-17215629330-export const pkg21 = 21;", "signature": "-6225117112-export declare const pkg21 = 21;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1886,7 +1886,7 @@ export declare const pkg22 = 22; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1896,7 +1896,7 @@ export declare const pkg22 = 22; }, "version": "-15924161328-export const pkg22 = 22;", "signature": "-6556346006-export declare const pkg22 = 22;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -2749,7 +2749,7 @@ var someConst2 = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -2759,7 +2759,7 @@ var someConst2 = 10; }, "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -2888,7 +2888,7 @@ export declare const someConst = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -2898,7 +2898,7 @@ export declare const someConst = 10; }, "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -3632,7 +3632,7 @@ export declare const someConst3 = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -3642,7 +3642,7 @@ export declare const someConst3 = 10; }, "version": "10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;", "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -4061,7 +4061,7 @@ var someConst4 = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -4071,7 +4071,7 @@ var someConst4 = 10; }, "version": "27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;", "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -4329,7 +4329,7 @@ export declare const someConst5 = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -4339,7 +4339,7 @@ export declare const someConst5 = 10; }, "version": "14710086947-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;export const someConst5 = 10;", "signature": "4956132399-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\nexport declare const someConst5 = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js index 8aa9ec488a996..96c0dcf0fe4bd 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js @@ -128,7 +128,7 @@ export declare const pkg0 = 0; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -138,7 +138,7 @@ export declare const pkg0 = 0; }, "version": "-10197922616-export const pkg0 = 0;", "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export declare const pkg1 = 1; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -197,7 +197,7 @@ export declare const pkg1 = 1; }, "version": "-10158787190-export const pkg1 = 1;", "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -246,7 +246,7 @@ export declare const pkg2 = 2; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -256,7 +256,7 @@ export declare const pkg2 = 2; }, "version": "-14414619060-export const pkg2 = 2;", "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -449,7 +449,7 @@ var someConst2 = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -459,7 +459,7 @@ var someConst2 = 10; }, "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -568,7 +568,7 @@ export declare const someConst = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -578,7 +578,7 @@ export declare const someConst = 10; }, "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js index 990f85d68eebe..d48126e7b22b6 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js @@ -174,7 +174,7 @@ export declare const pkg0 = 0; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -184,7 +184,7 @@ export declare const pkg0 = 0; }, "version": "-10197922616-export const pkg0 = 0;", "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -233,7 +233,7 @@ export declare const pkg1 = 1; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -243,7 +243,7 @@ export declare const pkg1 = 1; }, "version": "-10158787190-export const pkg1 = 1;", "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -292,7 +292,7 @@ export declare const pkg2 = 2; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -302,7 +302,7 @@ export declare const pkg2 = 2; }, "version": "-14414619060-export const pkg2 = 2;", "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -351,7 +351,7 @@ export declare const pkg3 = 3; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -361,7 +361,7 @@ export declare const pkg3 = 3; }, "version": "-14375483634-export const pkg3 = 3;", "signature": "-5242392728-export declare const pkg3 = 3;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -410,7 +410,7 @@ export declare const pkg4 = 4; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -420,7 +420,7 @@ export declare const pkg4 = 4; }, "version": "-14336348208-export const pkg4 = 4;", "signature": "-3950923670-export declare const pkg4 = 4;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -679,7 +679,7 @@ var someConst2 = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -689,7 +689,7 @@ var someConst2 = 10; }, "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -800,7 +800,7 @@ export declare const someConst = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -810,7 +810,7 @@ export declare const someConst = 10; }, "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js index 057bf7940b9b4..3872b94cabaa7 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js @@ -243,7 +243,7 @@ export declare const pkg0 = 0; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -253,7 +253,7 @@ export declare const pkg0 = 0; }, "version": "-10197922616-export const pkg0 = 0;", "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -302,7 +302,7 @@ export declare const pkg1 = 1; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -312,7 +312,7 @@ export declare const pkg1 = 1; }, "version": "-10158787190-export const pkg1 = 1;", "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -361,7 +361,7 @@ export declare const pkg2 = 2; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -371,7 +371,7 @@ export declare const pkg2 = 2; }, "version": "-14414619060-export const pkg2 = 2;", "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -420,7 +420,7 @@ export declare const pkg3 = 3; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -430,7 +430,7 @@ export declare const pkg3 = 3; }, "version": "-14375483634-export const pkg3 = 3;", "signature": "-5242392728-export declare const pkg3 = 3;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -479,7 +479,7 @@ export declare const pkg4 = 4; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -489,7 +489,7 @@ export declare const pkg4 = 4; }, "version": "-14336348208-export const pkg4 = 4;", "signature": "-3950923670-export declare const pkg4 = 4;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -538,7 +538,7 @@ export declare const pkg5 = 5; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -548,7 +548,7 @@ export declare const pkg5 = 5; }, "version": "-14297212782-export const pkg5 = 5;", "signature": "-2659454612-export declare const pkg5 = 5;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -597,7 +597,7 @@ export declare const pkg6 = 6; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -607,7 +607,7 @@ export declare const pkg6 = 6; }, "version": "-14258077356-export const pkg6 = 6;", "signature": "-5662952850-export declare const pkg6 = 6;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -656,7 +656,7 @@ export declare const pkg7 = 7; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -666,7 +666,7 @@ export declare const pkg7 = 7; }, "version": "-14218941930-export const pkg7 = 7;", "signature": "-4371483792-export declare const pkg7 = 7;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1024,7 +1024,7 @@ var someConst2 = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1034,7 +1034,7 @@ var someConst2 = 10; }, "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1148,7 +1148,7 @@ export declare const someConst = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1158,7 +1158,7 @@ export declare const someConst = 10; }, "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1475,7 +1475,7 @@ export declare const someConst3 = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1485,7 +1485,7 @@ export declare const someConst3 = 10; }, "version": "10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;", "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1745,7 +1745,7 @@ var someConst4 = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1755,7 +1755,7 @@ var someConst4 = 10; }, "version": "27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;", "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index f979fa27e5e21..4720c0959476c 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -132,7 +132,7 @@ export declare function f2(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -141,7 +141,7 @@ export declare function f2(): void; }, "version": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", "signature": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -218,7 +218,7 @@ export declare function f22(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -227,7 +227,7 @@ export declare function f22(): void; }, "version": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing", "signature": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -418,7 +418,7 @@ export declare function f2(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -428,7 +428,7 @@ export declare function f2(): void; }, "version": "14127205977-export function fooBar() {}export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", "signature": "1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 2cec2538e14ef..3cfa4cc93a329 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -160,7 +160,7 @@ export * from "./session"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/pure/session.ts": { "original": { @@ -170,7 +170,7 @@ export * from "./session"; }, "version": "1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n", "signature": "-1218067212-export interface Session {\n foo: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/pure/index.ts": { "original": { @@ -179,7 +179,7 @@ export * from "./session"; }, "version": "-5356193041-export * from \"./session\";\n", "signature": "-5356193041-export * from \"./session\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -385,7 +385,7 @@ export interface Session { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/pure/session.ts": { "original": { @@ -394,7 +394,7 @@ export interface Session { }, "version": "309257137-export interface Session {\n foo: number;\n bar: number;\n}\n", "signature": "309257137-export interface Session {\n foo: number;\n bar: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/pure/index.ts": { "original": { @@ -403,7 +403,7 @@ export interface Session { }, "version": "-5356193041-export * from \"./session\";\n", "signature": "-5356193041-export * from \"./session\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -578,7 +578,7 @@ export interface Session { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/pure/session.ts": { "original": { @@ -588,7 +588,7 @@ export interface Session { }, "version": "1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n", "signature": "-1218067212-export interface Session {\n foo: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/pure/index.ts": { "original": { @@ -597,7 +597,7 @@ export interface Session { }, "version": "-5356193041-export * from \"./session\";\n", "signature": "-5356193041-export * from \"./session\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js index c33c596d92639..82c603cf0982e 100644 --- a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -124,7 +124,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -180,7 +180,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -262,7 +262,7 @@ export declare function randomFn(str: string): void; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -272,7 +272,7 @@ export declare function randomFn(str: string): void; }, "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -282,7 +282,7 @@ export declare function randomFn(str: string): void; }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/random.ts": { "original": { @@ -292,7 +292,7 @@ export declare function randomFn(str: string): void; }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -359,7 +359,7 @@ export {}; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -368,7 +368,7 @@ export {}; }, "version": "2292560907-export declare function log(str: string): void;\n", "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -377,7 +377,7 @@ export {}; }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/random.d.ts": { "original": { @@ -386,7 +386,7 @@ export {}; }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -396,7 +396,7 @@ export {}; }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -648,7 +648,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -695,7 +695,7 @@ export declare const x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -705,7 +705,7 @@ export declare const x = 10; }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -715,7 +715,7 @@ export declare const x = 10; }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/random.ts": { "original": { @@ -725,7 +725,7 @@ export declare const x = 10; }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -810,7 +810,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -858,7 +858,7 @@ projects/server/src/server.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -867,7 +867,7 @@ projects/server/src/server.ts }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -876,7 +876,7 @@ projects/server/src/server.ts }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/random.d.ts": { "original": { @@ -885,7 +885,7 @@ projects/server/src/server.ts }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -895,7 +895,7 @@ projects/server/src/server.ts }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1072,7 +1072,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -1100,7 +1100,7 @@ projects/shared/src/myClass.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -1110,7 +1110,7 @@ projects/shared/src/myClass.ts }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -1120,7 +1120,7 @@ projects/shared/src/myClass.ts }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1246,7 +1246,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/logging.d.ts Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' File is output of project reference source 'projects/shared/src/logging.ts' @@ -1289,7 +1289,7 @@ projects/server/src/server.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -1298,7 +1298,7 @@ projects/server/src/server.ts }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -1307,7 +1307,7 @@ projects/server/src/server.ts }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -1317,7 +1317,7 @@ projects/server/src/server.ts }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js index 2dfb3db5c3886..5971cae425ebf 100644 --- a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js @@ -124,7 +124,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -180,7 +180,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -262,7 +262,7 @@ export declare function randomFn(str: string): void; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -272,7 +272,7 @@ export declare function randomFn(str: string): void; }, "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -282,7 +282,7 @@ export declare function randomFn(str: string): void; }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/random.ts": { "original": { @@ -292,7 +292,7 @@ export declare function randomFn(str: string): void; }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -359,7 +359,7 @@ export {}; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -368,7 +368,7 @@ export {}; }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -378,7 +378,7 @@ export {}; }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -387,7 +387,7 @@ export {}; }, "version": "2292560907-export declare function log(str: string): void;\n", "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/random.d.ts": { "original": { @@ -396,7 +396,7 @@ export {}; }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -648,7 +648,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -695,7 +695,7 @@ export declare const x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -705,7 +705,7 @@ export declare const x = 10; }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -715,7 +715,7 @@ export declare const x = 10; }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/random.ts": { "original": { @@ -725,7 +725,7 @@ export declare const x = 10; }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -810,7 +810,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -858,7 +858,7 @@ projects/shared/dist/src/random.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -867,7 +867,7 @@ projects/shared/dist/src/random.d.ts }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -877,7 +877,7 @@ projects/shared/dist/src/random.d.ts }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -886,7 +886,7 @@ projects/shared/dist/src/random.d.ts }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/random.d.ts": { "original": { @@ -895,7 +895,7 @@ projects/shared/dist/src/random.d.ts }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1072,7 +1072,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/src/logging.ts Matched by include pattern 'src/**/*.ts' in 'projects/shared/tsconfig.json' projects/shared/src/myClass.ts @@ -1100,7 +1100,7 @@ projects/shared/src/myClass.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/logging.ts": { "original": { @@ -1110,7 +1110,7 @@ projects/shared/src/myClass.ts }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/myclass.ts": { "original": { @@ -1120,7 +1120,7 @@ projects/shared/src/myClass.ts }, "version": "-10369713935-export class MyClass { }", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1246,7 +1246,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' projects/shared/dist/src/myClass.d.ts Imported via ':shared/myClass.js' from file 'projects/server/src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'projects/server/tsconfig.json' @@ -1289,7 +1289,7 @@ projects/shared/dist/src/logging.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/myclass.d.ts": { "original": { @@ -1298,7 +1298,7 @@ projects/shared/dist/src/logging.d.ts }, "version": "-7943199723-export declare class MyClass {\n}\n", "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/server.ts": { "original": { @@ -1308,7 +1308,7 @@ projects/shared/dist/src/logging.d.ts }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/dist/src/logging.d.ts": { "original": { @@ -1317,7 +1317,7 @@ projects/shared/dist/src/logging.d.ts }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js b/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js index 12da95cf03a4a..fb46d49dc324f 100644 --- a/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js +++ b/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js @@ -144,7 +144,7 @@ export declare class D { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -154,7 +154,7 @@ export declare class D { }, "version": "6071811233-export var C = class CReal {\n d = 1;\n};", "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -164,7 +164,7 @@ export declare class D { }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -174,7 +174,7 @@ export declare class D { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -184,7 +184,7 @@ export declare class D { }, "version": "-7804761415-export class D { }", "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -298,7 +298,7 @@ Operation ws cancelled:: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -308,7 +308,7 @@ Operation ws cancelled:: true }, "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -318,7 +318,7 @@ Operation ws cancelled:: true }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -328,7 +328,7 @@ Operation ws cancelled:: true }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -338,7 +338,7 @@ Operation ws cancelled:: true }, "version": "-7804761415-export class D { }", "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -462,7 +462,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -472,7 +472,7 @@ export declare function foo(): void; }, "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", "signature": "-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -482,7 +482,7 @@ export declare function foo(): void; }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -492,7 +492,7 @@ export declare function foo(): void; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -502,7 +502,7 @@ export declare function foo(): void; }, "version": "-7804761415-export class D { }", "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/cancellationToken/when-using-state.js b/tests/baselines/reference/tsc/cancellationToken/when-using-state.js index eb97047e20b34..6198539ec4a33 100644 --- a/tests/baselines/reference/tsc/cancellationToken/when-using-state.js +++ b/tests/baselines/reference/tsc/cancellationToken/when-using-state.js @@ -144,7 +144,7 @@ export declare class D { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -154,7 +154,7 @@ export declare class D { }, "version": "6071811233-export var C = class CReal {\n d = 1;\n};", "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -164,7 +164,7 @@ export declare class D { }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -174,7 +174,7 @@ export declare class D { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -184,7 +184,7 @@ export declare class D { }, "version": "-7804761415-export class D { }", "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -298,7 +298,7 @@ Operation ws cancelled:: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -308,7 +308,7 @@ Operation ws cancelled:: true }, "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -318,7 +318,7 @@ Operation ws cancelled:: true }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -328,7 +328,7 @@ Operation ws cancelled:: true }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -338,7 +338,7 @@ Operation ws cancelled:: true }, "version": "-7804761415-export class D { }", "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -462,7 +462,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -472,7 +472,7 @@ export declare function foo(): void; }, "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", "signature": "-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -482,7 +482,7 @@ export declare function foo(): void; }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -492,7 +492,7 @@ export declare function foo(): void; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -502,7 +502,7 @@ export declare function foo(): void; }, "version": "-7804761415-export class D { }", "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/composite/converting-to-modules.js b/tests/baselines/reference/tsc/composite/converting-to-modules.js index 0d35fc6eb1713..be249e5d215b4 100644 --- a/tests/baselines/reference/tsc/composite/converting-to-modules.js +++ b/tests/baselines/reference/tsc/composite/converting-to-modules.js @@ -61,7 +61,7 @@ var x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -73,7 +73,7 @@ var x = 10; "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -132,7 +132,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -144,7 +144,7 @@ exitCode:: ExitStatus.Success "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-outFile-with-incremental.js b/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-outFile-with-incremental.js index 6da0582c0ff94..a56e48ac45d25 100644 --- a/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-outFile-with-incremental.js +++ b/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-outFile-with-incremental.js @@ -69,7 +69,7 @@ Output:: TSFILE: /src/project/outFile.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/ky.d.ts Imported via 'ky' from file 'src/project/src/index.ts' src/project/src/index.ts @@ -104,7 +104,7 @@ Output:: TSFILE: /src/project/outFile.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/ky.d.ts Imported via 'ky' from file 'src/project/src/index.ts' src/project/src/index.ts @@ -137,7 +137,7 @@ Output::    ~~~ lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/ky.d.ts Imported via 'ky' from file 'src/project/src/index.ts' src/project/src/index.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-outFile.js b/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-outFile.js index c8483c2739db5..2327479b17b12 100644 --- a/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-outFile.js +++ b/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-outFile.js @@ -68,7 +68,7 @@ Output:: TSFILE: /src/project/outFile.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/ky.d.ts Imported via 'ky' from file 'src/project/src/index.ts' src/project/src/index.ts @@ -103,7 +103,7 @@ Output:: TSFILE: /src/project/outFile.js lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/ky.d.ts Imported via 'ky' from file 'src/project/src/index.ts' src/project/src/index.ts @@ -136,7 +136,7 @@ Output::    ~~~ lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/ky.d.ts Imported via 'ky' from file 'src/project/src/index.ts' src/project/src/index.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-with-incremental.js b/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-with-incremental.js index 2df4acad0625b..e24facdbe57ef 100644 --- a/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors-with-incremental.js @@ -79,7 +79,7 @@ Output:: TSFILE: /src/project/index.js TSFILE: /src/project/tsconfig.tsbuildinfo lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' src/project/node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'src/project/index.ts' File is ECMAScript module because 'src/project/node_modules/ky/package.json' has field "type" with value "module" @@ -123,7 +123,7 @@ export const api = ky.extend({}); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/ky/distribution/index.d.ts": { "original": { @@ -132,7 +132,7 @@ export const api = ky.extend({}); }, "version": "10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n", "signature": "10101889135-type KyInstance = {\n extend(options: Record): KyInstance;\n}\ndeclare const ky: KyInstance;\nexport default ky;\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "./index.ts": { "original": { @@ -141,7 +141,7 @@ export const api = ky.extend({}); }, "version": "-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n", "signature": "-383421929-import ky from 'ky';\nexport const api = ky.extend({});\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -197,7 +197,7 @@ Output::    ~~~ lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' src/project/node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'src/project/index.ts' File is ECMAScript module because 'src/project/node_modules/ky/package.json' has field "type" with value "module" @@ -231,7 +231,7 @@ Output::    ~~~ lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' src/project/node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'src/project/index.ts' File is ECMAScript module because 'src/project/node_modules/ky/package.json' has field "type" with value "module" diff --git a/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors.js b/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors.js index e41a24f674018..750ee2b0556ce 100644 --- a/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors.js +++ b/tests/baselines/reference/tsc/declarationEmit/reports-dts-generation-errors.js @@ -77,7 +77,7 @@ Output:: TSFILE: /src/project/index.js lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' src/project/node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'src/project/index.ts' File is ECMAScript module because 'src/project/node_modules/ky/package.json' has field "type" with value "module" @@ -110,7 +110,7 @@ Output:: TSFILE: /src/project/index.js lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' src/project/node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'src/project/index.ts' File is ECMAScript module because 'src/project/node_modules/ky/package.json' has field "type" with value "module" @@ -145,7 +145,7 @@ Output::    ~~~ lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' src/project/node_modules/ky/distribution/index.d.ts Imported via 'ky' from file 'src/project/index.ts' File is ECMAScript module because 'src/project/node_modules/ky/package.json' has field "type" with value "module" diff --git a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js index 1b667fb46bc31..0360ec3b1cbed 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js @@ -84,7 +84,7 @@ Output::    ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' pkg1/dist/types.d.ts Imported via './types' from file 'pkg1/dist/index.d.ts' pkg1/dist/index.d.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js index 127e393fe6430..78bfe8c62bfdc 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-pkg-references-sibling-package-through-indirect-symlink.js @@ -84,7 +84,7 @@ Output::    ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' pkg1/dist/types.d.ts Imported via './types' from file 'pkg1/dist/index.d.ts' pkg1/dist/index.d.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js index 90be8bd2b8703..1efccf32bb972 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js @@ -173,7 +173,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' plugin-one/node_modules/typescript-fsa/index.d.ts Imported via "typescript-fsa" from file 'plugin-one/action.ts' with packageId 'typescript-fsa/index.d.ts@3.0.0-beta-2' plugin-one/action.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js index 531388d069099..13beb05461a7e 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js @@ -178,7 +178,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' plugin-two/node_modules/typescript-fsa/index.d.ts Imported via "typescript-fsa" from file 'plugin-two/dist/commonjs/index.d.ts' with packageId 'typescript-fsa/index.d.ts@3.0.0-beta-2' plugin-two/dist/commonjs/index.d.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js index 483e9f429a73f..8d043827a0bf6 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js @@ -178,7 +178,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' plugin-two/node_modules/typescript-fsa/index.d.ts Imported via "typescript-fsa" from file 'plugin-two/dist/commonjs/index.d.ts' with packageId 'typescript-fsa/index.d.ts@3.0.0-beta-2' plugin-two/dist/commonjs/index.d.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js index 8828fb560b709..1b10870bc764b 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js @@ -173,7 +173,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' plugin-one/node_modules/typescript-fsa/index.d.ts Imported via "typescript-fsa" from file 'plugin-one/action.ts' with packageId 'typescript-fsa/index.d.ts@3.0.0-beta-2' plugin-one/action.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-using-Windows-paths-and-uppercase-letters.js b/tests/baselines/reference/tsc/declarationEmit/when-using-Windows-paths-and-uppercase-letters.js index 6206566ba4152..073b379937795 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-using-Windows-paths-and-uppercase-letters.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-using-Windows-paths-and-uppercase-letters.js @@ -112,12 +112,7 @@ Output:: error TS6053: File 'D:/a/lib/lib.es2017.full.d.ts' not found. The file is in the program because: - Default library for target 'es2017' - - tsconfig.json:10:15 - 10 "target": "es2017", -    ~~~~~~~~ - File is default library for target specified here. + Default library for target 'ES2017' src/utils/type-helpers.ts Imported via './type-helpers' from file 'src/utils/index.ts' diff --git a/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js b/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js index 1d1041dbd6b80..ae9c366b71f9b 100644 --- a/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js +++ b/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js @@ -160,7 +160,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsc/extends/configDir-template.js b/tests/baselines/reference/tsc/extends/configDir-template.js index a77ed7b7f5c63..8d792847639c6 100644 --- a/tests/baselines/reference/tsc/extends/configDir-template.js +++ b/tests/baselines/reference/tsc/extends/configDir-template.js @@ -160,7 +160,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js index 4fee3d4bc199b..a9a7c60cd5173 100644 --- a/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js @@ -75,7 +75,7 @@ export declare const x = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -85,7 +85,7 @@ export declare const x = 10; }, "version": "6873164248-// some comment\nexport const x = 10;\n", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 350148fe398ea..0257df057c0aa 100644 --- a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -297,7 +297,7 @@ Output:: File is included via import here. lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' home/src/projects/project/node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'home/src/projects/project/src/anotherFile.ts' Imported via "fp-ts/lib/struct" from file 'home/src/projects/project/src/anotherFile.ts' diff --git a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-relative-and-non-relative-file-resolutions.js b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-relative-and-non-relative-file-resolutions.js index cd999dd73a547..3969a58ab5fb1 100644 --- a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-relative-and-non-relative-file-resolutions.js +++ b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-relative-and-non-relative-file-resolutions.js @@ -57,7 +57,7 @@ Output:: File is included via import here. lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/project/src/struct.d.ts' Imported via "fp-ts/lib/struct" from file 'src/project/src/struct.d.ts' diff --git a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js index 7ea061cd3d89b..cea14e70e933a 100644 --- a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js +++ b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js @@ -53,7 +53,7 @@ File '/package.json' does not exist according to earlier cached lookups. File '/lib/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/src/fileOne.d.ts Type library referenced via './fileOne.d.ts' from file 'src/project/src/file2.d.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js index d94d64ed0059b..f81cf78e134d9 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js +++ b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js @@ -108,7 +108,7 @@ var wrapper = function () { return Messageable(); }; "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./messageableperson.ts": { "original": { @@ -118,7 +118,7 @@ var wrapper = function () { return Messageable(); }; }, "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -128,7 +128,7 @@ var wrapper = function () { return Messageable(); }; }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -231,7 +231,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./messageableperson.ts": { "original": { @@ -241,7 +241,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", "signature": "-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected.", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -251,7 +251,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -383,7 +383,7 @@ exitCode:: ExitStatus.Success "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./messageableperson.ts": { "original": { @@ -393,7 +393,7 @@ exitCode:: ExitStatus.Success }, "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -403,7 +403,7 @@ exitCode:: ExitStatus.Success }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js index d3d58a1e259f0..4efbe028f63a7 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js +++ b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js @@ -94,7 +94,7 @@ var wrapper = function () { return Messageable(); }; "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./messageableperson.ts": { "original": { @@ -103,7 +103,7 @@ var wrapper = function () { return Messageable(); }; }, "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", "signature": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -112,7 +112,7 @@ var wrapper = function () { return Messageable(); }; }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", "signature": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -206,7 +206,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./messageableperson.ts": { "original": { @@ -216,7 +216,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", "signature": "-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected.", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -226,7 +226,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -334,7 +334,7 @@ exitCode:: ExitStatus.Success "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./messageableperson.ts": { "original": { @@ -344,7 +344,7 @@ exitCode:: ExitStatus.Success }, "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -354,7 +354,7 @@ exitCode:: ExitStatus.Success }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 9a6d62cbc9d2f..d25b8786197e7 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 @@ -105,7 +105,7 @@ Object.defineProperty(exports, "ConstantNumber", { enumerable: true, get: functi "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class1.ts": { "original": { @@ -117,7 +117,7 @@ Object.defineProperty(exports, "ConstantNumber", { enumerable: true, get: functi "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664763344-declare const a = 1;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./constants.ts": { "original": { @@ -127,7 +127,7 @@ Object.defineProperty(exports, "ConstantNumber", { enumerable: true, get: functi }, "version": "-2659799048-export default 1;", "signature": "-183154784-declare const _default: 1;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./reexport.ts": { "original": { @@ -137,7 +137,7 @@ Object.defineProperty(exports, "ConstantNumber", { enumerable: true, get: functi }, "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"", "signature": "-1081498782-export { default as ConstantNumber } from \"./constants\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./types.d.ts": { "original": { @@ -148,7 +148,7 @@ Object.defineProperty(exports, "ConstantNumber", { enumerable: true, get: functi "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", "signature": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -251,7 +251,7 @@ exports.default = 2; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class1.ts": { "original": { @@ -263,7 +263,7 @@ exports.default = 2; "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664762255-declare const a = 2;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./constants.ts": { "original": { @@ -273,7 +273,7 @@ exports.default = 2; }, "version": "-2659799015-export default 2;", "signature": "-10876795135-declare const _default: 2;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./reexport.ts": { "original": { @@ -283,7 +283,7 @@ exports.default = 2; }, "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"", "signature": "-1081498782-export { default as ConstantNumber } from \"./constants\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./types.d.ts": { "original": { @@ -294,7 +294,7 @@ exports.default = 2; "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", "signature": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 c9c968255ac24..513d6615fbc89 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 @@ -86,7 +86,7 @@ exports.default = 1; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class1.ts": { "original": { @@ -98,7 +98,7 @@ exports.default = 1; "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664763344-declare const a = 1;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./constants.ts": { "original": { @@ -108,7 +108,7 @@ exports.default = 1; }, "version": "-2659799048-export default 1;", "signature": "-183154784-declare const _default: 1;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./types.d.ts": { "original": { @@ -119,7 +119,7 @@ exports.default = 1; "version": "-2080821236-type MagicNumber = typeof import('./constants').default", "signature": "-2080821236-type MagicNumber = typeof import('./constants').default", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -213,7 +213,7 @@ exports.default = 2; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class1.ts": { "original": { @@ -225,7 +225,7 @@ exports.default = 2; "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664762255-declare const a = 2;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./constants.ts": { "original": { @@ -235,7 +235,7 @@ exports.default = 2; }, "version": "-2659799015-export default 2;", "signature": "-10876795135-declare const _default: 2;\nexport default _default;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./types.d.ts": { "original": { @@ -246,7 +246,7 @@ exports.default = 2; "version": "-2080821236-type MagicNumber = typeof import('./constants').default", "signature": "-2080821236-type MagicNumber = typeof import('./constants').default", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js index 17a95b82ac243..1e0b2434081f4 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js @@ -9,23 +9,23 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -65,23 +65,23 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -124,23 +124,23 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -180,23 +180,23 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -239,23 +239,23 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -295,23 +295,23 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 54113d75277c4..4d122cecf6519 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 @@ -9,23 +9,23 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -61,23 +61,23 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -120,23 +120,23 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -172,23 +172,23 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 e84c1aa9a3254..da970d478ec03 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 @@ -10,23 +10,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -56,23 +56,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -110,23 +110,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -156,23 +156,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 87d1a8ab6cacb..676df8582a5ec 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 @@ -32,7 +32,7 @@ import { b } from "./b";export const d = b; "compilerOptions": { "incremental": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -116,7 +116,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -124,7 +124,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -132,7 +132,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -140,7 +140,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -148,7 +148,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -262,7 +262,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -270,7 +270,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -278,7 +278,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -286,7 +286,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -294,7 +294,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -405,7 +405,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -413,7 +413,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -421,7 +421,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -429,7 +429,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -437,7 +437,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -534,7 +534,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -542,7 +542,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -550,7 +550,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -558,7 +558,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -566,7 +566,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -668,7 +668,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -676,7 +676,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -684,7 +684,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -692,7 +692,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -700,7 +700,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -850,7 +850,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -858,7 +858,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -866,7 +866,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -874,7 +874,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -882,7 +882,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -967,7 +967,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -975,7 +975,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -983,7 +983,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -991,7 +991,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -999,7 +999,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1147,7 +1147,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1155,7 +1155,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1163,7 +1163,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1171,7 +1171,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1179,7 +1179,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1294,7 +1294,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1302,7 +1302,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1310,7 +1310,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1318,7 +1318,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1326,7 +1326,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1437,7 +1437,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1445,7 +1445,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1453,7 +1453,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1461,7 +1461,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1469,7 +1469,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1554,7 +1554,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1562,7 +1562,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1570,7 +1570,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1578,7 +1578,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1586,7 +1586,7 @@ No shapes updated in the builder:: "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 7957a9843af04..466f2c3c9b8fc 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js @@ -136,7 +136,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -145,7 +145,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -154,7 +154,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -163,7 +163,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -172,7 +172,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -311,7 +311,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -320,7 +320,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -329,7 +329,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -338,7 +338,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -347,7 +347,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -476,7 +476,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -485,7 +485,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -494,7 +494,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -503,7 +503,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -512,7 +512,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -623,7 +623,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -633,7 +633,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -643,7 +643,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -653,7 +653,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -663,7 +663,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -790,7 +790,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -800,7 +800,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -810,7 +810,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -820,7 +820,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -830,7 +830,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -974,7 +974,7 @@ var aLocal = 100; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -984,7 +984,7 @@ var aLocal = 100; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -994,7 +994,7 @@ var aLocal = 100; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1004,7 +1004,7 @@ var aLocal = 100; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1014,7 +1014,7 @@ var aLocal = 100; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1118,7 +1118,7 @@ No shapes updated in the builder:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1128,7 +1128,7 @@ No shapes updated in the builder:: }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1138,7 +1138,7 @@ No shapes updated in the builder:: }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1148,7 +1148,7 @@ No shapes updated in the builder:: }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1158,7 +1158,7 @@ No shapes updated in the builder:: }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1322,7 +1322,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1332,7 +1332,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1342,7 +1342,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1352,7 +1352,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1362,7 +1362,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1498,7 +1498,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1508,7 +1508,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1518,7 +1518,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1528,7 +1528,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1538,7 +1538,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1667,7 +1667,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1677,7 +1677,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1687,7 +1687,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1697,7 +1697,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1707,7 +1707,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1811,7 +1811,7 @@ No shapes updated in the builder:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1821,7 +1821,7 @@ No shapes updated in the builder:: }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1831,7 +1831,7 @@ No shapes updated in the builder:: }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1841,7 +1841,7 @@ No shapes updated in the builder:: }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1851,7 +1851,7 @@ No shapes updated in the builder:: }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 4467e4ae0572e..9833869ab4bf6 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 @@ -8,23 +8,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -58,23 +58,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -113,23 +113,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -163,23 +163,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -216,23 +216,23 @@ CleanBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -266,23 +266,23 @@ IncrementalBuild: "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; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 ca314852a1053..f45e70a8a2b66 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js @@ -32,7 +32,7 @@ import { b } from "./b";export const d = b; "compilerOptions": { "composite": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -131,7 +131,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -139,7 +139,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -147,7 +147,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -155,7 +155,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -163,7 +163,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -280,7 +280,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -288,7 +288,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -296,7 +296,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -304,7 +304,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -312,7 +312,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -426,7 +426,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -434,7 +434,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -442,7 +442,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -450,7 +450,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -458,7 +458,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -633,7 +633,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -641,7 +641,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -649,7 +649,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -657,7 +657,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -665,7 +665,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -766,7 +766,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -774,7 +774,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -782,7 +782,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -790,7 +790,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -798,7 +798,7 @@ declare module "d" { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -985,7 +985,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -993,7 +993,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1001,7 +1001,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1009,7 +1009,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1017,7 +1017,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1167,7 +1167,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1175,7 +1175,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1183,7 +1183,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1191,7 +1191,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1199,7 +1199,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1317,7 +1317,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1325,7 +1325,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1333,7 +1333,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1341,7 +1341,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1349,7 +1349,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1388,7 +1388,7 @@ Input:: "compilerOptions": { "composite": true, "outFile": "../outFile.js", - "module": "amd", + "module": "AMD", "declarationMap": true } } @@ -1490,7 +1490,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1498,7 +1498,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1506,7 +1506,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1514,7 +1514,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1522,7 +1522,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1639,7 +1639,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -1647,7 +1647,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -1655,7 +1655,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/c.ts": { "original": { @@ -1663,7 +1663,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/d.ts": { "original": { @@ -1671,7 +1671,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "impliedFormat": 1 }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/different-options.js b/tests/baselines/reference/tsc/incremental/different-options.js index dfbfcca7791e9..b46ae7c1c55bc 100644 --- a/tests/baselines/reference/tsc/incremental/different-options.js +++ b/tests/baselines/reference/tsc/incremental/different-options.js @@ -152,7 +152,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -162,7 +162,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -172,7 +172,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -182,7 +182,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -192,7 +192,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -335,7 +335,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -345,7 +345,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -355,7 +355,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -365,7 +365,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -375,7 +375,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -506,7 +506,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -516,7 +516,7 @@ exports.d = b_1.b; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -526,7 +526,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -536,7 +536,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -546,7 +546,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -741,7 +741,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -751,7 +751,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -761,7 +761,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -771,7 +771,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -781,7 +781,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -897,7 +897,7 @@ export declare const d = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -907,7 +907,7 @@ export declare const d = 10; }, "version": "-18487752940-export const a = 10;const aLocal = 10;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -917,7 +917,7 @@ export declare const d = 10; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -927,7 +927,7 @@ export declare const d = 10; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -937,7 +937,7 @@ export declare const d = 10; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1115,7 +1115,7 @@ var aLocal = 100; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1125,7 +1125,7 @@ var aLocal = 100; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1135,7 +1135,7 @@ var aLocal = 100; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1145,7 +1145,7 @@ var aLocal = 100; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1155,7 +1155,7 @@ var aLocal = 100; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1320,7 +1320,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1330,7 +1330,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1340,7 +1340,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1350,7 +1350,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1360,7 +1360,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1498,7 +1498,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1508,7 +1508,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1518,7 +1518,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1528,7 +1528,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1538,7 +1538,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1698,7 +1698,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1708,7 +1708,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1718,7 +1718,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1728,7 +1728,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1738,7 +1738,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1875,7 +1875,7 @@ exports.d = b_1.b; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1885,7 +1885,7 @@ exports.d = b_1.b; }, "version": "-17390360476-export const a = 10;const aLocal = 100;", "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1895,7 +1895,7 @@ exports.d = b_1.b; }, "version": "-6189287562-export const b = 10;const bLocal = 10;", "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1905,7 +1905,7 @@ exports.d = b_1.b; }, "version": "3248317647-import { a } from \"./a\";export const c = a;", "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1915,7 +1915,7 @@ exports.d = b_1.b; }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js b/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js index e1209332e5e8a..eb42b27f9c170 100644 --- a/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js +++ b/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js @@ -151,7 +151,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/box.ts": { "original": { @@ -161,7 +161,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-14267342128-export interface Box {\n unbox(): T\n}\n", "signature": "-15554117365-export interface Box {\n unbox(): T;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/wrap.ts": { "original": { @@ -171,7 +171,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n", "signature": "-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/bug.js": { "original": { @@ -181,7 +181,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-27771690375-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\n", "signature": "-2569667161-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ exports.something = 1; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/box.ts": { "original": { @@ -318,7 +318,7 @@ exports.something = 1; }, "version": "-14267342128-export interface Box {\n unbox(): T\n}\n", "signature": "-15554117365-export interface Box {\n unbox(): T;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/wrap.ts": { "original": { @@ -328,7 +328,7 @@ exports.something = 1; }, "version": "-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n", "signature": "-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/bug.js": { "original": { @@ -338,7 +338,7 @@ exports.something = 1; }, "version": "-25729561895-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\nexport const something = 1;", "signature": "-7681488146-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nexport const something: 1;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js index 9b766934157dc..92b3c8fb923d9 100644 --- a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js +++ b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js @@ -96,7 +96,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "7198220534-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 ReadonlyArray { readonly length: number }", "signature": "7198220534-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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 ReadonlyArray { readonly length: number }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -107,7 +107,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "42569361247-declare namespace JSX {\n interface ElementChildrenAttribute { children: {}; }\n interface IntrinsicElements { div: {} }\n}\n\ndeclare var React: any;\n\ndeclare function Component(props: never): any;\ndeclare function Component(props: { children?: number }): any;\n(\n
\n
\n)", "signature": "42569361247-declare namespace JSX {\n interface ElementChildrenAttribute { children: {}; }\n interface IntrinsicElements { div: {} }\n}\n\ndeclare var React: any;\n\ndeclare function Component(props: never): any;\ndeclare function Component(props: { children?: number }): any;\n(\n
\n
\n)", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js b/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js index 4f18466076799..f329815132443 100644 --- a/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js +++ b/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js @@ -85,7 +85,7 @@ export {}; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -96,7 +96,7 @@ export {}; "version": "-2443389309-/// \n/// \n\ndeclare global {\n interface Test {\n }\n}\n\nexport {};\n", "signature": "-2443389309-/// \n/// \n\ndeclare global {\n interface Test {\n }\n}\n\nexport {};\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js b/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js index 112a3c5cac17e..04167e39c34c5 100644 --- a/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js @@ -58,7 +58,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -67,7 +67,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js b/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js index f230c57a6bef9..2b0000588551b 100644 --- a/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js +++ b/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js @@ -91,7 +91,7 @@ exports.D = D; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../file1.ts": { "original": { @@ -101,7 +101,7 @@ exports.D = D; }, "version": "-9819564552-export class C { }", "signature": "-8650565060-export declare class C {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../file2.ts": { "original": { @@ -111,7 +111,7 @@ exports.D = D; }, "version": "-7804761415-export class D { }", "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -166,7 +166,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../file1.ts": { "original": { @@ -176,7 +176,7 @@ exitCode:: ExitStatus.Success }, "version": "-9819564552-export class C { }", "signature": "-8650565060-export declare class C {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js index bdbe2494b3cae..ad57934a06510 100644 --- a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js +++ b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js @@ -148,7 +148,7 @@ function main() { } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/filepresent.ts": { "original": { @@ -160,7 +160,7 @@ function main() { } "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/anotherfilewithsamereferenes.ts": { "original": { @@ -172,7 +172,7 @@ function main() { } "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -184,7 +184,7 @@ function main() { } "version": "-21256825585-/// \n/// \nfunction main() { }\n", "signature": "-1399491038-declare function main(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -357,7 +357,7 @@ something(); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/filepresent.ts": { "original": { @@ -369,7 +369,7 @@ something(); "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/anotherfilewithsamereferenes.ts": { "original": { @@ -381,7 +381,7 @@ something(); "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -393,7 +393,7 @@ something(); "version": "-24702349751-/// \n/// \nfunction main() { }\nsomething();", "signature": "-1399491038-declare function main(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -520,7 +520,7 @@ something(); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/filepresent.ts": { "original": { @@ -532,7 +532,7 @@ something(); "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/anotherfilewithsamereferenes.ts": { "original": { @@ -544,7 +544,7 @@ something(); "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -556,7 +556,7 @@ something(); "version": "-20086051197-/// \n/// \nfunction main() { }\nsomething();something();", "signature": "-1399491038-declare function main(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -714,7 +714,7 @@ function foo() { return 20; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/filepresent.ts": { "original": { @@ -726,7 +726,7 @@ function foo() { return 20; } "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/anotherfilewithsamereferenes.ts": { "original": { @@ -738,7 +738,7 @@ function foo() { return 20; } "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/newfile.ts": { "original": { @@ -750,7 +750,7 @@ function foo() { return 20; } "version": "5451387573-function foo() { return 20; }", "signature": "517738360-declare function foo(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -762,7 +762,7 @@ function foo() { return 20; } "version": "-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();", "signature": "-1399491038-declare function main(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -895,7 +895,7 @@ function something2() { return 20; } "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/filepresent.ts": { "original": { @@ -907,7 +907,7 @@ function something2() { return 20; } "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/filenotfound.ts": { "original": { @@ -919,7 +919,7 @@ function something2() { return 20; } "version": "-9011934479-function something2() { return 20; }", "signature": "-11412869068-declare function something2(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/anotherfilewithsamereferenes.ts": { "original": { @@ -931,7 +931,7 @@ function something2() { return 20; } "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/newfile.ts": { "original": { @@ -943,7 +943,7 @@ function something2() { return 20; } "version": "5451387573-function foo() { return 20; }", "signature": "517738360-declare function foo(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -955,7 +955,7 @@ function something2() { return 20; } "version": "-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();", "signature": "-1399491038-declare function main(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1083,7 +1083,7 @@ something(); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/filepresent.ts": { "original": { @@ -1095,7 +1095,7 @@ something(); "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/filenotfound.ts": { "original": { @@ -1107,7 +1107,7 @@ something(); "version": "-9011934479-function something2() { return 20; }", "signature": "-11412869068-declare function something2(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/anotherfilewithsamereferenes.ts": { "original": { @@ -1119,7 +1119,7 @@ something(); "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/newfile.ts": { "original": { @@ -1131,7 +1131,7 @@ something(); "version": "5451387573-function foo() { return 20; }", "signature": "517738360-declare function foo(): number;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -1143,7 +1143,7 @@ something(); "version": "3987942182-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();something();", "signature": "-1399491038-declare function main(): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js index 9972addc78d8d..71cda3e77cd24 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js @@ -9,17 +9,17 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "version": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "version": "777969115-class class2 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -57,17 +57,17 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "version": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "version": "777969115-class class2 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -95,17 +95,17 @@ CleanBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "version": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "version": "777969115-class class2 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -143,17 +143,17 @@ IncrementalBuild: "../../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "version": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "version": "777969115-class class2 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js index f3713d10a3061..13dd0730cef1f 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js @@ -89,7 +89,7 @@ var class2 = /** @class */ (function () { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -100,7 +100,7 @@ var class2 = /** @class */ (function () { "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -112,7 +112,7 @@ var class2 = /** @class */ (function () { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -198,7 +198,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -209,7 +209,7 @@ exitCode:: ExitStatus.Success "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class3.d.ts": { "original": { @@ -220,7 +220,7 @@ exitCode:: ExitStatus.Success "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -232,7 +232,7 @@ exitCode:: ExitStatus.Success "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -315,7 +315,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -326,7 +326,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -338,7 +338,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -404,7 +404,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -415,7 +415,7 @@ exitCode:: ExitStatus.Success "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class3.d.ts": { "original": { @@ -426,7 +426,7 @@ exitCode:: ExitStatus.Success "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -438,7 +438,7 @@ exitCode:: ExitStatus.Success "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js b/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js index 6213eee28b446..b4b67a073c611 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js @@ -34,7 +34,7 @@ export const x = 10; Output:: /lib/tsc --incremental --p src/project --tsBuildInfoFile src/project/.tsbuildinfo --explainFiles lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/src/main.ts Matched by include pattern 'src/**/*.ts' in 'src/project/tsconfig.json' exitCode:: ExitStatus.Success @@ -60,7 +60,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -69,7 +69,7 @@ exitCode:: ExitStatus.Success }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -104,7 +104,7 @@ Input:: Output:: /lib/tsc --incremental --p src/project --tsBuildInfoFile src/project/.tsbuildinfo --explainFiles lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/project/src/main.ts Matched by include pattern 'src/**/*.ts' in 'src/project/tsconfig.json' exitCode:: ExitStatus.Success diff --git a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js index 6dbb83bd8a37c..ab26964a546b5 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js @@ -60,7 +60,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.ts": { "original": { @@ -69,7 +69,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js index e29552a529bd9..933b0154e100b 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js @@ -61,7 +61,7 @@ exports.x = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -70,7 +70,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js index 9356c08f49a9a..f61b291ad747e 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js @@ -82,7 +82,7 @@ var a = 1 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -91,7 +91,7 @@ var a = 1 /* A.ONE */; }, "version": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n", "signature": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -100,7 +100,7 @@ var a = 1 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -109,7 +109,7 @@ var a = 1 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -198,7 +198,7 @@ var a = 2 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -207,7 +207,7 @@ var a = 2 /* A.ONE */; }, "version": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n", "signature": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -217,7 +217,7 @@ var a = 2 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -227,7 +227,7 @@ var a = 2 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -316,7 +316,7 @@ var a = 3 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -325,7 +325,7 @@ var a = 3 /* A.ONE */; }, "version": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n", "signature": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -335,7 +335,7 @@ var a = 3 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -344,7 +344,7 @@ var a = 3 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -428,7 +428,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -437,7 +437,7 @@ exitCode:: ExitStatus.Success }, "version": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;", "signature": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -447,7 +447,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -456,7 +456,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -532,7 +532,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -541,7 +541,7 @@ exitCode:: ExitStatus.Success }, "version": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;", "signature": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -551,7 +551,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -560,7 +560,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js index 0f9cb1d519e7c..ce4050285fa57 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js @@ -82,7 +82,7 @@ var a = 1 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -91,7 +91,7 @@ var a = 1 /* A.ONE */; }, "version": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n", "signature": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -100,7 +100,7 @@ var a = 1 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -109,7 +109,7 @@ var a = 1 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -194,7 +194,7 @@ var a = 2 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -203,7 +203,7 @@ var a = 2 /* A.ONE */; }, "version": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n", "signature": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -213,7 +213,7 @@ var a = 2 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -223,7 +223,7 @@ var a = 2 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ var a = 3 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -317,7 +317,7 @@ var a = 3 /* A.ONE */; }, "version": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n", "signature": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -327,7 +327,7 @@ var a = 3 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -336,7 +336,7 @@ var a = 3 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -416,7 +416,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -425,7 +425,7 @@ exitCode:: ExitStatus.Success }, "version": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;", "signature": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -435,7 +435,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -444,7 +444,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -519,7 +519,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -528,7 +528,7 @@ exitCode:: ExitStatus.Success }, "version": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;", "signature": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -538,7 +538,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -547,7 +547,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js index ba86fab5b7f46..00b9c1c9f2c4f 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js @@ -83,7 +83,7 @@ var a = 1 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./worker.d.ts": { "original": { @@ -92,7 +92,7 @@ var a = 1 /* A.ONE */; }, "version": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n", "signature": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -101,7 +101,7 @@ var a = 1 /* A.ONE */; }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -110,7 +110,7 @@ var a = 1 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -119,7 +119,7 @@ var a = 1 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -214,7 +214,7 @@ var a = 2 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./worker.d.ts": { "original": { @@ -223,7 +223,7 @@ var a = 2 /* A.ONE */; }, "version": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n", "signature": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -232,7 +232,7 @@ var a = 2 /* A.ONE */; }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -241,7 +241,7 @@ var a = 2 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -250,7 +250,7 @@ var a = 2 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -345,7 +345,7 @@ var a = 3 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./worker.d.ts": { "original": { @@ -354,7 +354,7 @@ var a = 3 /* A.ONE */; }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -363,7 +363,7 @@ var a = 3 /* A.ONE */; }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -372,7 +372,7 @@ var a = 3 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -381,7 +381,7 @@ var a = 3 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -469,7 +469,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./worker.d.ts": { "original": { @@ -478,7 +478,7 @@ exitCode:: ExitStatus.Success }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -487,7 +487,7 @@ exitCode:: ExitStatus.Success }, "version": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;", "signature": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -497,7 +497,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -507,7 +507,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -586,7 +586,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./worker.d.ts": { "original": { @@ -595,7 +595,7 @@ exitCode:: ExitStatus.Success }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -604,7 +604,7 @@ exitCode:: ExitStatus.Success }, "version": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;", "signature": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -614,7 +614,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -623,7 +623,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js index 07420718f000a..0e6a1a20e145f 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js @@ -83,7 +83,7 @@ var a = 1 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./worker.d.ts": { "original": { @@ -92,7 +92,7 @@ var a = 1 /* A.ONE */; }, "version": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n", "signature": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -101,7 +101,7 @@ var a = 1 /* A.ONE */; }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -110,7 +110,7 @@ var a = 1 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -119,7 +119,7 @@ var a = 1 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -210,7 +210,7 @@ var a = 2 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./worker.d.ts": { "original": { @@ -219,7 +219,7 @@ var a = 2 /* A.ONE */; }, "version": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n", "signature": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -228,7 +228,7 @@ var a = 2 /* A.ONE */; }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -237,7 +237,7 @@ var a = 2 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -246,7 +246,7 @@ var a = 2 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -337,7 +337,7 @@ var a = 3 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./worker.d.ts": { "original": { @@ -346,7 +346,7 @@ var a = 3 /* A.ONE */; }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -355,7 +355,7 @@ var a = 3 /* A.ONE */; }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -364,7 +364,7 @@ var a = 3 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -373,7 +373,7 @@ var a = 3 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -457,7 +457,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./worker.d.ts": { "original": { @@ -466,7 +466,7 @@ exitCode:: ExitStatus.Success }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -475,7 +475,7 @@ exitCode:: ExitStatus.Success }, "version": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;", "signature": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -485,7 +485,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -495,7 +495,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -573,7 +573,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./worker.d.ts": { "original": { @@ -582,7 +582,7 @@ exitCode:: ExitStatus.Success }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -591,7 +591,7 @@ exitCode:: ExitStatus.Success }, "version": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;", "signature": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -601,7 +601,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -610,7 +610,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js b/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js index 28c7a281efa87..390628bfa25c7 100644 --- a/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js @@ -81,7 +81,7 @@ var a = 1 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -90,7 +90,7 @@ var a = 1 /* A.ONE */; }, "version": "-7434209142-export const enum A {\n ONE = 1\n}\n", "signature": "-7434209142-export const enum A {\n ONE = 1\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -99,7 +99,7 @@ var a = 1 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -108,7 +108,7 @@ var a = 1 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -196,7 +196,7 @@ var a = 2 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -205,7 +205,7 @@ var a = 2 /* A.ONE */; }, "version": "-7434173205-export const enum A {\n ONE = 2\n}\n", "signature": "-7434173205-export const enum A {\n ONE = 2\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -215,7 +215,7 @@ var a = 2 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -225,7 +225,7 @@ var a = 2 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -313,7 +313,7 @@ var a = 3 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -322,7 +322,7 @@ var a = 3 /* A.ONE */; }, "version": "-7434137268-export const enum A {\n ONE = 3\n}\n", "signature": "-7434137268-export const enum A {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -332,7 +332,7 @@ var a = 3 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -341,7 +341,7 @@ var a = 3 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -424,7 +424,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -433,7 +433,7 @@ exitCode:: ExitStatus.Success }, "version": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;", "signature": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -443,7 +443,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -452,7 +452,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -527,7 +527,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -536,7 +536,7 @@ exitCode:: ExitStatus.Success }, "version": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;", "signature": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -546,7 +546,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -555,7 +555,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/with-const-enums.js b/tests/baselines/reference/tsc/incremental/with-const-enums.js index 7a1a9c4bb428f..8e22359cb9cfe 100644 --- a/tests/baselines/reference/tsc/incremental/with-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-const-enums.js @@ -81,7 +81,7 @@ var a = 1 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -90,7 +90,7 @@ var a = 1 /* A.ONE */; }, "version": "-7434209142-export const enum A {\n ONE = 1\n}\n", "signature": "-7434209142-export const enum A {\n ONE = 1\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -99,7 +99,7 @@ var a = 1 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -108,7 +108,7 @@ var a = 1 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -192,7 +192,7 @@ var a = 2 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -201,7 +201,7 @@ var a = 2 /* A.ONE */; }, "version": "-7434173205-export const enum A {\n ONE = 2\n}\n", "signature": "-7434173205-export const enum A {\n ONE = 2\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -211,7 +211,7 @@ var a = 2 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -221,7 +221,7 @@ var a = 2 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -305,7 +305,7 @@ var a = 3 /* A.ONE */; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -314,7 +314,7 @@ var a = 3 /* A.ONE */; }, "version": "-7434137268-export const enum A {\n ONE = 3\n}\n", "signature": "-7434137268-export const enum A {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -324,7 +324,7 @@ var a = 3 /* A.ONE */; }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -333,7 +333,7 @@ var a = 3 /* A.ONE */; }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -412,7 +412,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -421,7 +421,7 @@ exitCode:: ExitStatus.Success }, "version": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;", "signature": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -431,7 +431,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -440,7 +440,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -514,7 +514,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -523,7 +523,7 @@ exitCode:: ExitStatus.Success }, "version": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;", "signature": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -533,7 +533,7 @@ exitCode:: ExitStatus.Success }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -542,7 +542,7 @@ exitCode:: ExitStatus.Success }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js index c3b47c6296fb9..0e5c5bf4875af 100644 --- a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js +++ b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js @@ -52,7 +52,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/another.d.ts": { "original": { @@ -61,7 +61,7 @@ exitCode:: ExitStatus.Success }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.d.ts": { "original": { @@ -70,7 +70,7 @@ exitCode:: ExitStatus.Success }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -134,7 +134,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/another.d.ts": { "original": { @@ -143,7 +143,7 @@ exitCode:: ExitStatus.Success }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/main.d.ts": { "original": { @@ -152,7 +152,7 @@ exitCode:: ExitStatus.Success }, "version": "-10808461502-export const x = 10;export const xy = 100;", "signature": "-10808461502-export const x = 10;export const xy = 100;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js b/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js index f08490476b94a..35fa659946cb7 100644 --- a/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js +++ b/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js @@ -117,7 +117,7 @@ File '/package.json' does not exist according to earlier cached lookups.    ~~~~~~~~~~ ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' project1/core.d.ts @@ -233,7 +233,7 @@ exports.x = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -244,7 +244,7 @@ exports.x = "type1"; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -253,7 +253,7 @@ exports.x = "type1"; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -263,7 +263,7 @@ exports.x = "type1"; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -273,7 +273,7 @@ exports.x = "type1"; }, "version": "-15920922626-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -283,7 +283,7 @@ exports.x = "type1"; }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -292,7 +292,7 @@ exports.x = "type1"; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js index a74517a2a415a..55861efecc67a 100644 --- a/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js @@ -460,7 +460,7 @@ exports.x = "type1"; "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -471,7 +471,7 @@ exports.x = "type1"; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -482,7 +482,7 @@ exports.x = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -493,7 +493,7 @@ exports.x = "type1"; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -502,7 +502,7 @@ exports.x = "type1"; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -512,7 +512,7 @@ exports.x = "type1"; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -522,7 +522,7 @@ exports.x = "type1"; }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -532,7 +532,7 @@ exports.x = "type1"; }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -541,7 +541,7 @@ exports.x = "type1"; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -550,7 +550,7 @@ exports.x = "type1"; }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/libraryResolution/with-config.js b/tests/baselines/reference/tsc/libraryResolution/with-config.js index e19ccc12d1f7b..99b08fe09bc78 100644 --- a/tests/baselines/reference/tsc/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsc/libraryResolution/with-config.js @@ -453,7 +453,7 @@ exports.x = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -464,7 +464,7 @@ exports.x = "type1"; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -475,7 +475,7 @@ exports.x = "type1"; "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -486,7 +486,7 @@ exports.x = "type1"; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -495,7 +495,7 @@ exports.x = "type1"; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -505,7 +505,7 @@ exports.x = "type1"; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -515,7 +515,7 @@ exports.x = "type1"; }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -525,7 +525,7 @@ exports.x = "type1"; }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -534,7 +534,7 @@ exports.x = "type1"; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -543,7 +543,7 @@ exports.x = "type1"; }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js b/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js index 42030df877b6a..5eef18cd7a67b 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js +++ b/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js @@ -68,7 +68,7 @@ exports.x = 1; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./test.ts": { "original": { @@ -77,7 +77,7 @@ exports.x = 1; }, "version": "-12038591281-export const x = 1;", "signature": "-12038591281-export const x = 1;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/moduleResolution/alternateResult.js b/tests/baselines/reference/tsc/moduleResolution/alternateResult.js index cf59c13a6f2a9..d48ce731c73ec 100644 --- a/tests/baselines/reference/tsc/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tsc/moduleResolution/alternateResult.js @@ -414,7 +414,7 @@ export {}; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo2/index.d.ts": { "original": { @@ -423,7 +423,7 @@ export {}; }, "version": "-1622383150-export declare const foo2: number;", "signature": "-1622383150-export declare const foo2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar2/index.d.ts": { "original": { @@ -432,7 +432,7 @@ export {}; }, "version": "-7439170493-export declare const bar2: number;", "signature": "-7439170493-export declare const bar2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.mts": { "original": { @@ -441,7 +441,7 @@ export {}; }, "version": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", "signature": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -1626,7 +1626,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar/index.d.ts": { "original": { @@ -1635,7 +1635,7 @@ Shape signatures in builder refreshed for:: }, "version": "-9556021903-export declare const bar: number;", "signature": "-9556021903-export declare const bar: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo2/index.d.ts": { "original": { @@ -1644,7 +1644,7 @@ Shape signatures in builder refreshed for:: }, "version": "-1622383150-export declare const foo2: number;", "signature": "-1622383150-export declare const foo2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar2/index.d.ts": { "original": { @@ -1653,7 +1653,7 @@ Shape signatures in builder refreshed for:: }, "version": "-7439170493-export declare const bar2: number;", "signature": "-7439170493-export declare const bar2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.mts": { "original": { @@ -1663,7 +1663,7 @@ Shape signatures in builder refreshed for:: }, "version": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -1908,7 +1908,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo/index.d.ts": { "original": { @@ -1917,7 +1917,7 @@ Shape signatures in builder refreshed for:: }, "version": "-5214938848-export declare const foo: number;", "signature": "-5214938848-export declare const foo: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar/index.d.ts": { "original": { @@ -1926,7 +1926,7 @@ Shape signatures in builder refreshed for:: }, "version": "-9556021903-export declare const bar: number;", "signature": "-9556021903-export declare const bar: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo2/index.d.ts": { "original": { @@ -1935,7 +1935,7 @@ Shape signatures in builder refreshed for:: }, "version": "-1622383150-export declare const foo2: number;", "signature": "-1622383150-export declare const foo2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar2/index.d.ts": { "original": { @@ -1944,7 +1944,7 @@ Shape signatures in builder refreshed for:: }, "version": "-7439170493-export declare const bar2: number;", "signature": "-7439170493-export declare const bar2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.mts": { "original": { @@ -1954,7 +1954,7 @@ Shape signatures in builder refreshed for:: }, "version": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -2238,7 +2238,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo/index.d.ts": { "original": { @@ -2247,7 +2247,7 @@ Shape signatures in builder refreshed for:: }, "version": "-5214938848-export declare const foo: number;", "signature": "-5214938848-export declare const foo: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar/index.d.ts": { "original": { @@ -2256,7 +2256,7 @@ Shape signatures in builder refreshed for:: }, "version": "-9556021903-export declare const bar: number;", "signature": "-9556021903-export declare const bar: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo2/index.d.ts": { "original": { @@ -2265,7 +2265,7 @@ Shape signatures in builder refreshed for:: }, "version": "-1622383150-export declare const foo2: number;", "signature": "-1622383150-export declare const foo2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.mts": { "original": { @@ -2275,7 +2275,7 @@ Shape signatures in builder refreshed for:: }, "version": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -2581,7 +2581,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo/index.d.ts": { "original": { @@ -2590,7 +2590,7 @@ Shape signatures in builder refreshed for:: }, "version": "-5214938848-export declare const foo: number;", "signature": "-5214938848-export declare const foo: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar/index.d.ts": { "original": { @@ -2599,7 +2599,7 @@ Shape signatures in builder refreshed for:: }, "version": "-9556021903-export declare const bar: number;", "signature": "-9556021903-export declare const bar: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.mts": { "original": { @@ -2609,7 +2609,7 @@ Shape signatures in builder refreshed for:: }, "version": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-composite-discrepancies.js b/tests/baselines/reference/tsc/noEmit/changes-composite-discrepancies.js index e6f69bbaa5375..6fd6ab625ce98 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/changes-composite-discrepancies.js @@ -9,32 +9,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -100,32 +100,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -188,32 +188,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,32 +279,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -367,32 +367,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -502,32 +502,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -648,32 +648,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -739,32 +739,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -827,32 +827,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -918,32 +918,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1006,32 +1006,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1141,32 +1141,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1273,32 +1273,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1408,32 +1408,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1540,32 +1540,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1631,32 +1631,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1733,32 +1733,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1824,32 +1824,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1912,32 +1912,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -2003,32 +2003,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-composite-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-composite-outFile.js index fbc5e7da510ea..14949aedeb42b 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-composite-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-composite-outFile.js @@ -108,7 +108,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -116,7 +116,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -124,7 +124,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -132,7 +132,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -140,7 +140,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -148,7 +148,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -156,7 +156,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -473,7 +473,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -481,7 +481,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -489,7 +489,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -497,7 +497,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -505,7 +505,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -513,7 +513,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -521,7 +521,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -809,7 +809,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -817,7 +817,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -825,7 +825,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -833,7 +833,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -841,7 +841,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -849,7 +849,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -857,7 +857,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-composite.js b/tests/baselines/reference/tsc/noEmit/changes-composite.js index a667d9acd0e57..729d415e10613 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-composite.js +++ b/tests/baselines/reference/tsc/noEmit/changes-composite.js @@ -184,7 +184,7 @@ function someFunc(arguments) { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -194,7 +194,7 @@ function someFunc(arguments) { }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -204,7 +204,7 @@ function someFunc(arguments) { }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -214,7 +214,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -224,7 +224,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -234,7 +234,7 @@ function someFunc(arguments) { }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -246,7 +246,7 @@ function someFunc(arguments) { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -397,7 +397,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -407,7 +407,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -417,7 +417,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -426,7 +426,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -435,7 +435,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -445,7 +445,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -457,7 +457,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -650,7 +650,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -660,7 +660,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -670,7 +670,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -680,7 +680,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -690,7 +690,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -700,7 +700,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -712,7 +712,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -927,7 +927,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -937,7 +937,7 @@ exports.classC = classC; }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -947,7 +947,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -957,7 +957,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -967,7 +967,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -977,7 +977,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -989,7 +989,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1296,7 +1296,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -1306,7 +1306,7 @@ exitCode:: ExitStatus.Success }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -1316,7 +1316,7 @@ exitCode:: ExitStatus.Success }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -1325,7 +1325,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -1334,7 +1334,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -1344,7 +1344,7 @@ exitCode:: ExitStatus.Success }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -1356,7 +1356,7 @@ exitCode:: ExitStatus.Success "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1518,7 +1518,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -1528,7 +1528,7 @@ exports.classC = classC; }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -1538,7 +1538,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -1548,7 +1548,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -1558,7 +1558,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -1568,7 +1568,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -1580,7 +1580,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration-outFile.js index 2562d5e8b72a8..fde39bd61c271 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration-outFile.js @@ -109,7 +109,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -117,7 +117,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -125,7 +125,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -133,7 +133,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -141,7 +141,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -149,7 +149,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -157,7 +157,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -473,7 +473,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -481,7 +481,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -489,7 +489,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -497,7 +497,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -505,7 +505,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -513,7 +513,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -521,7 +521,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -808,7 +808,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -816,7 +816,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -824,7 +824,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -832,7 +832,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -840,7 +840,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -848,7 +848,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -856,7 +856,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration.js b/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration.js index 04c953e0b31d3..a6951896aeb8c 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration.js @@ -185,7 +185,7 @@ function someFunc(arguments) { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -195,7 +195,7 @@ function someFunc(arguments) { }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -205,7 +205,7 @@ function someFunc(arguments) { }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -215,7 +215,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -225,7 +225,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -235,7 +235,7 @@ function someFunc(arguments) { }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -247,7 +247,7 @@ function someFunc(arguments) { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -397,7 +397,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -407,7 +407,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -417,7 +417,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -426,7 +426,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -435,7 +435,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -445,7 +445,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -457,7 +457,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -639,7 +639,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -649,7 +649,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -659,7 +659,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -669,7 +669,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -679,7 +679,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -689,7 +689,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -701,7 +701,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -918,7 +918,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -928,7 +928,7 @@ exports.classC = classC; }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -938,7 +938,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -948,7 +948,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -958,7 +958,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -968,7 +968,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -980,7 +980,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1286,7 +1286,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -1296,7 +1296,7 @@ exitCode:: ExitStatus.Success }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -1306,7 +1306,7 @@ exitCode:: ExitStatus.Success }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -1315,7 +1315,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -1324,7 +1324,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -1334,7 +1334,7 @@ exitCode:: ExitStatus.Success }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -1346,7 +1346,7 @@ exitCode:: ExitStatus.Success "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1496,7 +1496,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -1506,7 +1506,7 @@ exports.classC = classC; }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -1516,7 +1516,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -1526,7 +1526,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -1536,7 +1536,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -1546,7 +1546,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -1558,7 +1558,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-incremental-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-incremental-outFile.js index f26a4a36075f4..4196cad98cff5 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-incremental-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-incremental-outFile.js @@ -104,7 +104,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -112,7 +112,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -120,7 +120,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -128,7 +128,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -136,7 +136,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -144,7 +144,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -152,7 +152,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -466,7 +466,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -474,7 +474,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -482,7 +482,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -490,7 +490,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -498,7 +498,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -506,7 +506,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -514,7 +514,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -799,7 +799,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -807,7 +807,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -815,7 +815,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -823,7 +823,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -831,7 +831,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -839,7 +839,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -847,7 +847,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-incremental.js b/tests/baselines/reference/tsc/noEmit/changes-incremental.js index b17051e991a8a..405be9c880a40 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/changes-incremental.js @@ -155,7 +155,7 @@ function someFunc(arguments) { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -164,7 +164,7 @@ function someFunc(arguments) { }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -173,7 +173,7 @@ function someFunc(arguments) { }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -182,7 +182,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -191,7 +191,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -200,7 +200,7 @@ function someFunc(arguments) { }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -211,7 +211,7 @@ function someFunc(arguments) { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -358,7 +358,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -368,7 +368,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -378,7 +378,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -388,7 +388,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -398,7 +398,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -407,7 +407,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -418,7 +418,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -591,7 +591,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -601,7 +601,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -611,7 +611,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -620,7 +620,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -629,7 +629,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -638,7 +638,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -649,7 +649,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -854,7 +854,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -864,7 +864,7 @@ exports.classC = classC; }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -874,7 +874,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -883,7 +883,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -892,7 +892,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -901,7 +901,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -912,7 +912,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1215,7 +1215,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -1225,7 +1225,7 @@ exitCode:: ExitStatus.Success }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -1235,7 +1235,7 @@ exitCode:: ExitStatus.Success }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -1244,7 +1244,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -1253,7 +1253,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -1262,7 +1262,7 @@ exitCode:: ExitStatus.Success }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -1273,7 +1273,7 @@ exitCode:: ExitStatus.Success "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1399,7 +1399,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -1409,7 +1409,7 @@ exports.classC = classC; }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -1419,7 +1419,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -1428,7 +1428,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -1437,7 +1437,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -1446,7 +1446,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -1457,7 +1457,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-discrepancies.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-discrepancies.js index 15992ef47b088..13852296466d2 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-discrepancies.js @@ -9,32 +9,32 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -100,32 +100,32 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-outFile.js index 66433fc32268c..dca920fc0570b 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-outFile.js @@ -127,7 +127,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -135,7 +135,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -143,7 +143,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -151,7 +151,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -159,7 +159,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -167,7 +167,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -175,7 +175,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -282,7 +282,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -290,7 +290,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -298,7 +298,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -306,7 +306,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -314,7 +314,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -322,7 +322,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -330,7 +330,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -434,7 +434,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -442,7 +442,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -450,7 +450,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -458,7 +458,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -466,7 +466,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -474,7 +474,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -482,7 +482,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite.js index e96a7bbe099ec..996265438f973 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite.js @@ -89,7 +89,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -98,7 +98,7 @@ exitCode:: ExitStatus.Success }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -107,7 +107,7 @@ exitCode:: ExitStatus.Success }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -116,7 +116,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -125,7 +125,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -134,7 +134,7 @@ exitCode:: ExitStatus.Success }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -145,7 +145,7 @@ exitCode:: ExitStatus.Success "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -371,7 +371,7 @@ function someFunc(arguments) { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -381,7 +381,7 @@ function someFunc(arguments) { }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -391,7 +391,7 @@ function someFunc(arguments) { }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -401,7 +401,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -411,7 +411,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -421,7 +421,7 @@ function someFunc(arguments) { }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -433,7 +433,7 @@ function someFunc(arguments) { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -588,7 +588,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -598,7 +598,7 @@ exports.classC = classC; }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -608,7 +608,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -618,7 +618,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -628,7 +628,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -638,7 +638,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -650,7 +650,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -797,7 +797,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -807,7 +807,7 @@ exitCode:: ExitStatus.Success }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -817,7 +817,7 @@ exitCode:: ExitStatus.Success }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -826,7 +826,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -835,7 +835,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -845,7 +845,7 @@ exitCode:: ExitStatus.Success }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -857,7 +857,7 @@ exitCode:: ExitStatus.Success "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1019,7 +1019,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -1029,7 +1029,7 @@ exports.classC = classC; }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -1039,7 +1039,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -1049,7 +1049,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -1059,7 +1059,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -1069,7 +1069,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -1081,7 +1081,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration-outFile.js index 9fa1a3d6a520a..aed18ec7ae725 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration-outFile.js @@ -128,7 +128,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -136,7 +136,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -144,7 +144,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -152,7 +152,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -160,7 +160,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -168,7 +168,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -176,7 +176,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -282,7 +282,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -290,7 +290,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -298,7 +298,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -306,7 +306,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -314,7 +314,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -322,7 +322,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -330,7 +330,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -433,7 +433,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -441,7 +441,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -449,7 +449,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -457,7 +457,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -465,7 +465,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -473,7 +473,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -481,7 +481,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration.js index b1224b22b4acb..c2bd4505a62aa 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration.js @@ -90,7 +90,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -99,7 +99,7 @@ exitCode:: ExitStatus.Success }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -108,7 +108,7 @@ exitCode:: ExitStatus.Success }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -117,7 +117,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -126,7 +126,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -135,7 +135,7 @@ exitCode:: ExitStatus.Success }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -146,7 +146,7 @@ exitCode:: ExitStatus.Success "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -364,7 +364,7 @@ function someFunc(arguments) { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -374,7 +374,7 @@ function someFunc(arguments) { }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -384,7 +384,7 @@ function someFunc(arguments) { }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -394,7 +394,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -404,7 +404,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -414,7 +414,7 @@ function someFunc(arguments) { }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -426,7 +426,7 @@ function someFunc(arguments) { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -583,7 +583,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -593,7 +593,7 @@ exports.classC = classC; }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -603,7 +603,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -613,7 +613,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -623,7 +623,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -633,7 +633,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -645,7 +645,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -791,7 +791,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -801,7 +801,7 @@ exitCode:: ExitStatus.Success }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -811,7 +811,7 @@ exitCode:: ExitStatus.Success }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -820,7 +820,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -829,7 +829,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -839,7 +839,7 @@ exitCode:: ExitStatus.Success }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -851,7 +851,7 @@ exitCode:: ExitStatus.Success "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1001,7 +1001,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -1011,7 +1011,7 @@ exports.classC = classC; }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -1021,7 +1021,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -1031,7 +1031,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -1041,7 +1041,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -1051,7 +1051,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -1063,7 +1063,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-outFile.js index 66f876841fbee..688e8738cd8e6 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-outFile.js @@ -123,7 +123,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -131,7 +131,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -139,7 +139,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -147,7 +147,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -155,7 +155,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -163,7 +163,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -171,7 +171,7 @@ function someFunc(arguments) { "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -275,7 +275,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -283,7 +283,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -291,7 +291,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -299,7 +299,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -307,7 +307,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -315,7 +315,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -323,7 +323,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -424,7 +424,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/class.ts": { "original": { @@ -432,7 +432,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectclass.ts": { "original": { @@ -440,7 +440,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/directuse.ts": { "original": { @@ -448,7 +448,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/indirectuse.ts": { "original": { @@ -456,7 +456,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefile.ts": { "original": { @@ -464,7 +464,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/src/nochangefilewithemitspecificerror.ts": { "original": { @@ -472,7 +472,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "impliedFormat": 1 }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental.js index 0737ac54f12f2..3ae6952611d96 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental.js @@ -89,7 +89,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -98,7 +98,7 @@ exitCode:: ExitStatus.Success }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -107,7 +107,7 @@ exitCode:: ExitStatus.Success }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -116,7 +116,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -125,7 +125,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -134,7 +134,7 @@ exitCode:: ExitStatus.Success }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -145,7 +145,7 @@ exitCode:: ExitStatus.Success "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -331,7 +331,7 @@ function someFunc(arguments) { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -340,7 +340,7 @@ function someFunc(arguments) { }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -349,7 +349,7 @@ function someFunc(arguments) { }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -358,7 +358,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -367,7 +367,7 @@ function someFunc(arguments) { }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -376,7 +376,7 @@ function someFunc(arguments) { }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -387,7 +387,7 @@ function someFunc(arguments) { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -534,7 +534,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -544,7 +544,7 @@ exports.classC = classC; }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -554,7 +554,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -564,7 +564,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -574,7 +574,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -583,7 +583,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -594,7 +594,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -737,7 +737,7 @@ exitCode:: ExitStatus.Success "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -747,7 +747,7 @@ exitCode:: ExitStatus.Success }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -757,7 +757,7 @@ exitCode:: ExitStatus.Success }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -766,7 +766,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -775,7 +775,7 @@ exitCode:: ExitStatus.Success }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -784,7 +784,7 @@ exitCode:: ExitStatus.Success }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -795,7 +795,7 @@ exitCode:: ExitStatus.Success "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -921,7 +921,7 @@ exports.classC = classC; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/class.ts": { "original": { @@ -931,7 +931,7 @@ exports.classC = classC; }, "version": "545032748-export class classC {\n prop = 1;\n}", "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectclass.ts": { "original": { @@ -941,7 +941,7 @@ exports.classC = classC; }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/directuse.ts": { "original": { @@ -950,7 +950,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/indirectuse.ts": { "original": { @@ -959,7 +959,7 @@ exports.classC = classC; }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefile.ts": { "original": { @@ -968,7 +968,7 @@ exports.classC = classC; }, "version": "6714567633-export function writeLog(s: string) {\n}", "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { @@ -979,7 +979,7 @@ exports.classC = classC; "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js b/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js index 4caf393808ccd..71d92e2eebd4e 100644 --- a/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js +++ b/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js @@ -75,7 +75,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class1.ts": { "original": { @@ -84,7 +84,7 @@ Shape signatures in builder refreshed for:: }, "version": "-7660182596-export class class1 {}", "signature": "-7660182596-export class class1 {}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/file-deleted-before-fixing-error-with-noEmitOnError.js b/tests/baselines/reference/tsc/noEmitOnError/file-deleted-before-fixing-error-with-noEmitOnError.js index adc2b3b951914..aebc1802b8585 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/file-deleted-before-fixing-error-with-noEmitOnError.js +++ b/tests/baselines/reference/tsc/noEmitOnError/file-deleted-before-fixing-error-with-noEmitOnError.js @@ -91,7 +91,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../file1.ts": { "original": { @@ -100,7 +100,7 @@ Shape signatures in builder refreshed for:: }, "version": "-10927263693-export const x: 30 = \"hello\";", "signature": "-10927263693-export const x: 30 = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../file2.ts": { "original": { @@ -109,7 +109,7 @@ Shape signatures in builder refreshed for:: }, "version": "-7804761415-export class D { }", "signature": "-7804761415-export class D { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -213,7 +213,7 @@ No shapes updated in the builder:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../file1.ts": { "original": { @@ -222,7 +222,7 @@ No shapes updated in the builder:: }, "version": "-10927263693-export const x: 30 = \"hello\";", "signature": "-10927263693-export const x: 30 = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js index fdc4e3278824e..6456777db434e 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js @@ -207,7 +207,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -215,7 +215,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -223,7 +223,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -231,7 +231,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-incremental.js index 3d43d6f78553b..bde4c57befbf4 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-incremental.js @@ -191,7 +191,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -199,7 +199,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -207,7 +207,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -215,7 +215,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-declaration-with-incremental.js index f1990a03618c8..30154e9da9f8c 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-declaration-with-incremental.js @@ -112,7 +112,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -121,7 +121,7 @@ Shape signatures in builder refreshed for:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -130,7 +130,7 @@ Shape signatures in builder refreshed for:: }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -139,7 +139,7 @@ Shape signatures in builder refreshed for:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -336,7 +336,7 @@ console.log("hi"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -345,7 +345,7 @@ console.log("hi"); }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -355,7 +355,7 @@ console.log("hi"); }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -365,7 +365,7 @@ console.log("hi"); }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-incremental.js index 95aa6d3894360..66b146ecab06c 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-incremental.js @@ -110,7 +110,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -119,7 +119,7 @@ Shape signatures in builder refreshed for:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -128,7 +128,7 @@ Shape signatures in builder refreshed for:: }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -137,7 +137,7 @@ Shape signatures in builder refreshed for:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -317,7 +317,7 @@ console.log("hi"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -326,7 +326,7 @@ console.log("hi"); }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -336,7 +336,7 @@ console.log("hi"); }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -345,7 +345,7 @@ console.log("hi"); }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js index 19e1ee15e0d46..45f0c01870ed5 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js @@ -214,7 +214,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -222,7 +222,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -230,7 +230,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -238,7 +238,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-incremental.js index 3f7cf478fb299..53c179c1dee80 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-incremental.js @@ -198,7 +198,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -206,7 +206,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -214,7 +214,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -222,7 +222,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-declaration-with-incremental.js index b1a0dd97c8506..282c9d6d62cce 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-declaration-with-incremental.js @@ -115,7 +115,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -124,7 +124,7 @@ Shape signatures in builder refreshed for:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -133,7 +133,7 @@ Shape signatures in builder refreshed for:: }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -142,7 +142,7 @@ Shape signatures in builder refreshed for:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -329,7 +329,7 @@ console.log("hi"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -338,7 +338,7 @@ console.log("hi"); }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -348,7 +348,7 @@ console.log("hi"); }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -358,7 +358,7 @@ console.log("hi"); }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-incremental.js index 8c80979bf2a12..125717480287e 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-incremental.js @@ -113,7 +113,7 @@ Shape signatures in builder refreshed for:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -122,7 +122,7 @@ Shape signatures in builder refreshed for:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -131,7 +131,7 @@ Shape signatures in builder refreshed for:: }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -140,7 +140,7 @@ Shape signatures in builder refreshed for:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ console.log("hi"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -319,7 +319,7 @@ console.log("hi"); }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -329,7 +329,7 @@ console.log("hi"); }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -338,7 +338,7 @@ console.log("hi"); }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-discrepancies.js b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-discrepancies.js index c75c11c626749..cc18ffbafe654 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-discrepancies.js @@ -10,17 +10,17 @@ CleanBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "5515933561-const x: 20 = 10;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "2026006654-const y = 10;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -67,17 +67,17 @@ IncrementalBuild: "../../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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "version": "5515933561-const x: 20 = 10;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "version": "2026006654-const y = 10;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-with-outFile.js b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-with-outFile.js index dca7210519078..ea53fc5f692e8 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-with-outFile.js +++ b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-with-outFile.js @@ -66,7 +66,7 @@ var y = 10; "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -74,7 +74,7 @@ var y = 10; "impliedFormat": 1 }, "version": "5029505981-const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -82,7 +82,7 @@ var y = 10; "impliedFormat": 1 }, "version": "2026006654-const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -170,7 +170,7 @@ declare const y = 10; "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/a.ts": { "original": { @@ -178,7 +178,7 @@ declare const y = 10; "impliedFormat": 1 }, "version": "5029505981-const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./project/b.ts": { "original": { @@ -186,7 +186,7 @@ declare const y = 10; "impliedFormat": 1 }, "version": "2026006654-const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes.js b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes.js index c5f02158819b0..a178e6a4602ff 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes.js @@ -74,7 +74,7 @@ var y = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -86,7 +86,7 @@ var y = 10; "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -98,7 +98,7 @@ var y = 10; "version": "2026006654-const y = 10;", "signature": "-4332668712-declare const y = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -165,7 +165,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -177,7 +177,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "5515933561-const x: 20 = 10;", "signature": "-3041996843-declare const x: 20;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -189,7 +189,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "version": "2026006654-const y = 10;", "signature": "-4332668712-declare const y = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -301,7 +301,7 @@ declare const y = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -313,7 +313,7 @@ declare const y = 10; "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -325,7 +325,7 @@ declare const y = 10; "version": "2026006654-const y = 10;", "signature": "-4332668712-declare const y = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js b/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js index ddd8595aa8621..f68d689d96845 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js @@ -79,7 +79,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../a.ts": { "original": { @@ -89,7 +89,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-3531955686-export { };", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js b/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js index d50fb7c85918f..a230ab2f99f35 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js @@ -65,7 +65,7 @@ exports.m = 3; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/a.ts": { "original": { @@ -75,7 +75,7 @@ exports.m = 3; }, "version": "-12181672471-export const m: number = 3;", "signature": "-6260611917-export declare const m: number;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js index 8a90086df18ee..222c96d031dc8 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js @@ -85,7 +85,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../beta/b.ts": { "original": { @@ -95,7 +95,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-3360792065-export { }", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/a.ts": { "original": { @@ -105,7 +105,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-5654511483-import * as b from '../../beta/b'", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js index e5195f8fd979c..cd038838d6098 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js @@ -72,7 +72,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../a.ts": { "original": { @@ -82,7 +82,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-3531955686-export { };", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js index 8bbe0fb24b3c7..34f39f14e4f4c 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js @@ -92,7 +92,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b.ts": { "original": { @@ -102,7 +102,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-2704852577-export {}", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../a.ts": { "original": { @@ -112,7 +112,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-4190788607-import * as b from './b'", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js index 2a4986e945da9..528e65ce90241 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js @@ -79,7 +79,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../a.ts": { "original": { @@ -89,7 +89,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-3531955686-export { };", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js index e264c40bc95cd..c22208331f8bc 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js @@ -94,7 +94,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b.ts": { "original": { @@ -104,7 +104,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-9543969340-import * as mod_0 from \"../primary/a\"", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js index e7f853026d0a2..775cebfdee442 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js @@ -93,7 +93,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b.ts": { "original": { @@ -103,7 +103,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "2892088637-import { m } from '@alpha/a'", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js index 191341ec0d2f4..50594c4b04389 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js @@ -87,7 +87,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b.ts": { "original": { @@ -97,7 +97,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-4853599800-import { m } from '../alpha/a'", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js b/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js index acfdabafa9a7c..9ea6501fdba38 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js @@ -56,7 +56,7 @@ Output::    ~ lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' alpha/bin/a.d.ts Imported via '../alpha/a' from file 'beta/b.ts' File is output of project reference source 'alpha/a.ts' @@ -103,7 +103,7 @@ Object.defineProperty(exports, "__esModule", { value: 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../alpha/bin/a.d.ts": { "original": { @@ -112,7 +112,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-3531955686-export { };", "signature": "-3531955686-export { };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b.ts": { "original": { @@ -122,7 +122,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); }, "version": "-4853599800-import { m } from '../alpha/a'", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js index 53b7fac589998..174eb5f8976e4 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js @@ -90,7 +90,7 @@ exports.App = App; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.tsx": { "original": { @@ -99,7 +99,7 @@ exports.App = App; }, "version": "-14760199789-export const App = () =>
;", "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/react/index.d.ts": { "original": { @@ -110,7 +110,7 @@ exports.App = App; "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", "signature": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js index 8f02111ec5881..42cee7b94fffd 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js @@ -82,7 +82,7 @@ exports.App = App; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.tsx": { "original": { @@ -91,7 +91,7 @@ exports.App = App; }, "version": "-14760199789-export const App = () =>
;", "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/react/index.d.ts": { "original": { @@ -102,7 +102,7 @@ exports.App = App; "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", "signature": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 d28cc6ec21030..150fd948a5c70 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 @@ -101,17 +101,17 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, esnext -default: es5 +one of: ES5, ES2015/ES6, ES2016, ES2017, ES2018, ES2019, ES2020, ES2021, ES2022, ES2023, ESNext +default: ES5 --module, -m Specify what module code is generated. -one of: none, commonjs, amd, umd, system, es6/es2015, es2020, es2022, esnext, node16, nodenext, preserve +one of: None, CommonJS, AMD, UMD, System, ES2015/ES6, ES2020, ES2022, ESNext, Node16, NodeNext, Preserve default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.sharedmemory, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.string, esnext.promise, esnext.decorators, esnext.object, esnext.regexp, decorators, decorators.legacy +one or more: ES5, ES2015/ES6, ES2016/ES7, ES2017, ES2018, ES2019, ES2020, ES2021, ES2022, ES2023, ESNext, DOM, DOM.Iterable, DOM.AsyncIterable, WebWorker, WebWorker.ImportScripts, WebWorker.Iterable, WebWorker.AsyncIterable, ScriptHost, ES2015.Core, ES2015.Collection, ES2015.Generator, ES2015.Iterable, ES2015.Promise, ES2015.Proxy, ES2015.Reflect, ES2015.Symbol, ES2015.Symbol.WellKnown, ES2016.Array.Includes/ES2016.Array.Include, ES2016.Intl, ES2017.Date, ES2017.Object, ES2017.SharedMemory, ES2017.String, ES2017.Intl, ES2017.TypedArrays/ES2017.TypedArray, ES2018.AsyncGenerator, ES2018.AsyncIterable/ESNext.AsyncIterable, ES2018.Intl, ES2018.Promise, ES2018.RegExp, ES2019.Array, ES2019.Object, ES2019.String, ES2019.Symbol/ESNext.Symbol, ES2019.Intl, ES2020.BigInt/ESNext.BigInt, ES2020.Date, ES2020.Promise, ES2020.SharedMemory, ES2020.String, ES2020.Symbol.WellKnown, ES2020.Intl, ES2020.Number, ES2021.Promise, ES2021.String, ES2021.WeakRef/ESNext.WeakRef, ES2021.Intl, ES2022.Array, ES2022.Error, ES2022.Intl, ES2022.Object, ES2022.SharedMemory, ES2022.String, ES2022.RegExp, ES2023.Array, ES2023.Collection, ES2023.Intl, ESNext.Array, ESNext.Collection, ESNext.Intl, ESNext.Disposable, ESNext.String, ESNext.Promise, ESNext.Decorators, ESNext.Object, ESNext.RegExp, Decorators, Decorators.Legacy default: undefined --allowJs 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 d52e6ac3d9037..214f9723dd897 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 @@ -101,17 +101,17 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, esnext -default: es5 +one of: ES5, ES2015/ES6, ES2016, ES2017, ES2018, ES2019, ES2020, ES2021, ES2022, ES2023, ESNext +default: ES5 --module, -m Specify what module code is generated. -one of: none, commonjs, amd, umd, system, es6/es2015, es2020, es2022, esnext, node16, nodenext, preserve +one of: None, CommonJS, AMD, UMD, System, ES2015/ES6, ES2020, ES2022, ESNext, Node16, NodeNext, Preserve default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.sharedmemory, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.string, esnext.promise, esnext.decorators, esnext.object, esnext.regexp, decorators, decorators.legacy +one or more: ES5, ES2015/ES6, ES2016/ES7, ES2017, ES2018, ES2019, ES2020, ES2021, ES2022, ES2023, ESNext, DOM, DOM.Iterable, DOM.AsyncIterable, WebWorker, WebWorker.ImportScripts, WebWorker.Iterable, WebWorker.AsyncIterable, ScriptHost, ES2015.Core, ES2015.Collection, ES2015.Generator, ES2015.Iterable, ES2015.Promise, ES2015.Proxy, ES2015.Reflect, ES2015.Symbol, ES2015.Symbol.WellKnown, ES2016.Array.Includes/ES2016.Array.Include, ES2016.Intl, ES2017.Date, ES2017.Object, ES2017.SharedMemory, ES2017.String, ES2017.Intl, ES2017.TypedArrays/ES2017.TypedArray, ES2018.AsyncGenerator, ES2018.AsyncIterable/ESNext.AsyncIterable, ES2018.Intl, ES2018.Promise, ES2018.RegExp, ES2019.Array, ES2019.Object, ES2019.String, ES2019.Symbol/ESNext.Symbol, ES2019.Intl, ES2020.BigInt/ESNext.BigInt, ES2020.Date, ES2020.Promise, ES2020.SharedMemory, ES2020.String, ES2020.Symbol.WellKnown, ES2020.Intl, ES2020.Number, ES2021.Promise, ES2021.String, ES2021.WeakRef/ESNext.WeakRef, ES2021.Intl, ES2022.Array, ES2022.Error, ES2022.Intl, ES2022.Object, ES2022.SharedMemory, ES2022.String, ES2022.RegExp, ES2023.Array, ES2023.Collection, ES2023.Intl, ESNext.Array, ESNext.Collection, ESNext.Intl, ESNext.Disposable, ESNext.String, ESNext.Promise, ESNext.Decorators, ESNext.Object, ESNext.RegExp, Decorators, Decorators.Legacy default: undefined --allowJs 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 d52e6ac3d9037..214f9723dd897 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 @@ -101,17 +101,17 @@ default: false --target, -t Set the JavaScript language version for emitted JavaScript and include compatible library declarations. -one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, esnext -default: es5 +one of: ES5, ES2015/ES6, ES2016, ES2017, ES2018, ES2019, ES2020, ES2021, ES2022, ES2023, ESNext +default: ES5 --module, -m Specify what module code is generated. -one of: none, commonjs, amd, umd, system, es6/es2015, es2020, es2022, esnext, node16, nodenext, preserve +one of: None, CommonJS, AMD, UMD, System, ES2015/ES6, ES2020, ES2022, ESNext, Node16, NodeNext, Preserve default: undefined --lib Specify a set of bundled library declaration files that describe the target runtime environment. -one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.sharedmemory, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.string, esnext.promise, esnext.decorators, esnext.object, esnext.regexp, decorators, decorators.legacy +one or more: ES5, ES2015/ES6, ES2016/ES7, ES2017, ES2018, ES2019, ES2020, ES2021, ES2022, ES2023, ESNext, DOM, DOM.Iterable, DOM.AsyncIterable, WebWorker, WebWorker.ImportScripts, WebWorker.Iterable, WebWorker.AsyncIterable, ScriptHost, ES2015.Core, ES2015.Collection, ES2015.Generator, ES2015.Iterable, ES2015.Promise, ES2015.Proxy, ES2015.Reflect, ES2015.Symbol, ES2015.Symbol.WellKnown, ES2016.Array.Includes/ES2016.Array.Include, ES2016.Intl, ES2017.Date, ES2017.Object, ES2017.SharedMemory, ES2017.String, ES2017.Intl, ES2017.TypedArrays/ES2017.TypedArray, ES2018.AsyncGenerator, ES2018.AsyncIterable/ESNext.AsyncIterable, ES2018.Intl, ES2018.Promise, ES2018.RegExp, ES2019.Array, ES2019.Object, ES2019.String, ES2019.Symbol/ESNext.Symbol, ES2019.Intl, ES2020.BigInt/ESNext.BigInt, ES2020.Date, ES2020.Promise, ES2020.SharedMemory, ES2020.String, ES2020.Symbol.WellKnown, ES2020.Intl, ES2020.Number, ES2021.Promise, ES2021.String, ES2021.WeakRef/ESNext.WeakRef, ES2021.Intl, ES2022.Array, ES2022.Error, ES2022.Intl, ES2022.Object, ES2022.SharedMemory, ES2022.String, ES2022.RegExp, ES2023.Array, ES2023.Collection, ES2023.Intl, ESNext.Array, ESNext.Collection, ESNext.Intl, ESNext.Disposable, ESNext.String, ESNext.Promise, ESNext.Decorators, ESNext.Object, ESNext.RegExp, Decorators, Decorators.Legacy default: undefined --allowJs diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 9009c274867f3..dbc377a6929f5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -83,7 +83,7 @@ console.log(b.c.d); "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -92,7 +92,7 @@ console.log(b.c.d); }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -101,7 +101,7 @@ console.log(b.c.d); }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -110,7 +110,7 @@ console.log(b.c.d); }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -264,7 +264,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -273,7 +273,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -282,7 +282,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -291,7 +291,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -409,7 +409,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -418,7 +418,7 @@ Output:: }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -427,7 +427,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -436,7 +436,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -554,7 +554,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -563,7 +563,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -572,7 +572,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -581,7 +581,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js index 313aaae353cf7..f6a1b217c4220 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -110,7 +110,7 @@ console.log(b.c.d); "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -119,7 +119,7 @@ console.log(b.c.d); }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-22447130237-export class C\n{\n d = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -128,7 +128,7 @@ console.log(b.c.d); }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -137,7 +137,7 @@ console.log(b.c.d); }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -304,7 +304,7 @@ exports.C = C; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -314,7 +314,7 @@ exports.C = C; }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -324,7 +324,7 @@ exports.C = C; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -334,7 +334,7 @@ exports.C = C; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -487,7 +487,7 @@ exports.C = C; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -497,7 +497,7 @@ exports.C = C; }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -507,7 +507,7 @@ exports.C = C; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -517,7 +517,7 @@ exports.C = C; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -668,7 +668,7 @@ exports.C = C; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -678,7 +678,7 @@ exports.C = C; }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -688,7 +688,7 @@ exports.C = C; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -698,7 +698,7 @@ exports.C = C; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 1570328b2fcbd..6de93d7e44a0f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -152,7 +152,7 @@ require("./d"); "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -161,7 +161,7 @@ require("./d"); }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -170,7 +170,7 @@ require("./d"); }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -179,7 +179,7 @@ require("./d"); }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -188,7 +188,7 @@ require("./d"); }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -197,7 +197,7 @@ require("./d"); }, "version": "-5185546240-import \"./d\";", "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -417,7 +417,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -427,7 +427,7 @@ Output:: }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -437,7 +437,7 @@ Output:: }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -447,7 +447,7 @@ Output:: }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -457,7 +457,7 @@ Output:: }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -467,7 +467,7 @@ Output:: }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -617,7 +617,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -627,7 +627,7 @@ Output:: }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -637,7 +637,7 @@ Output:: }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -647,7 +647,7 @@ Output:: }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -657,7 +657,7 @@ Output:: }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -667,7 +667,7 @@ Output:: }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -811,7 +811,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -821,7 +821,7 @@ Output:: }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -831,7 +831,7 @@ Output:: }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -841,7 +841,7 @@ Output:: }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -851,7 +851,7 @@ Output:: }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -861,7 +861,7 @@ Output:: }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js index 17e29c3f4183a..ec290b743e752 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js @@ -205,7 +205,7 @@ exports.App = App; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -214,7 +214,7 @@ exports.App = App; }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -223,7 +223,7 @@ exports.App = App; }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -232,7 +232,7 @@ exports.App = App; }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -241,7 +241,7 @@ exports.App = App; }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -250,7 +250,7 @@ exports.App = App; }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -259,7 +259,7 @@ exports.App = App; }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -446,7 +446,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -456,7 +456,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -466,7 +466,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -476,7 +476,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -486,7 +486,7 @@ Output:: }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -496,7 +496,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -506,7 +506,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -668,7 +668,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -678,7 +678,7 @@ Output:: }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -688,7 +688,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -698,7 +698,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -708,7 +708,7 @@ Output:: }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -718,7 +718,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -728,7 +728,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -882,7 +882,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -892,7 +892,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -902,7 +902,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -912,7 +912,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -922,7 +922,7 @@ Output:: }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -932,7 +932,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -942,7 +942,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js index 9489a2cca2fa0..3f3df7cce75f3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -225,7 +225,7 @@ exports.App = App; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -234,7 +234,7 @@ exports.App = App; }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -243,7 +243,7 @@ exports.App = App; }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -252,7 +252,7 @@ exports.App = App; }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -261,7 +261,7 @@ exports.App = App; }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -270,7 +270,7 @@ exports.App = App; }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -279,7 +279,7 @@ exports.App = App; }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -288,7 +288,7 @@ exports.App = App; }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -487,7 +487,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -497,7 +497,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -507,7 +507,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -517,7 +517,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -527,7 +527,7 @@ Output:: }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -537,7 +537,7 @@ Output:: }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -547,7 +547,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -557,7 +557,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -728,7 +728,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -738,7 +738,7 @@ Output:: }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -748,7 +748,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -758,7 +758,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -768,7 +768,7 @@ Output:: }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -778,7 +778,7 @@ Output:: }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -788,7 +788,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -798,7 +798,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -959,7 +959,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -969,7 +969,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -979,7 +979,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -989,7 +989,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -999,7 +999,7 @@ Output:: }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -1009,7 +1009,7 @@ Output:: }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -1019,7 +1019,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -1029,7 +1029,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 5ff2bbd3d6032..9b0013cc7bed0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -87,7 +87,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -96,7 +96,7 @@ export {}; }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -105,7 +105,7 @@ export {}; }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -115,7 +115,7 @@ export {}; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -271,7 +271,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -280,7 +280,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -289,7 +289,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -299,7 +299,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -419,7 +419,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -428,7 +428,7 @@ Output:: }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -437,7 +437,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -447,7 +447,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -567,7 +567,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -576,7 +576,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -585,7 +585,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -595,7 +595,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index ffa5b4bd019cd..c1069720e28c9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -127,7 +127,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -137,7 +137,7 @@ export {}; }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -147,7 +147,7 @@ export {}; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -157,7 +157,7 @@ export {}; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -327,7 +327,7 @@ export declare class C { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -337,7 +337,7 @@ export declare class C { }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -347,7 +347,7 @@ export declare class C { }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -357,7 +357,7 @@ export declare class C { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -498,7 +498,7 @@ export declare class C { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -508,7 +508,7 @@ export declare class C { }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -518,7 +518,7 @@ export declare class C { }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -528,7 +528,7 @@ export declare class C { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -669,7 +669,7 @@ export declare class C { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -679,7 +679,7 @@ export declare class C { }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -689,7 +689,7 @@ export declare class C { }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -699,7 +699,7 @@ export declare class C { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 22ccd5d123af2..56f31c2259e98 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -182,7 +182,7 @@ import "./d"; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -192,7 +192,7 @@ import "./d"; }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -202,7 +202,7 @@ import "./d"; }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -212,7 +212,7 @@ import "./d"; }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -222,7 +222,7 @@ import "./d"; }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -232,7 +232,7 @@ import "./d"; }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -478,7 +478,7 @@ export interface Coords { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -488,7 +488,7 @@ export interface Coords { }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -498,7 +498,7 @@ export interface Coords { }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -508,7 +508,7 @@ export interface Coords { }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -518,7 +518,7 @@ export interface Coords { }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -528,7 +528,7 @@ export interface Coords { }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -737,7 +737,7 @@ export interface Coords { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -747,7 +747,7 @@ export interface Coords { }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -757,7 +757,7 @@ export interface Coords { }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -767,7 +767,7 @@ export interface Coords { }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -777,7 +777,7 @@ export interface Coords { }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -787,7 +787,7 @@ export interface Coords { }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -996,7 +996,7 @@ export interface Coords { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -1006,7 +1006,7 @@ export interface Coords { }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -1016,7 +1016,7 @@ export interface Coords { }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -1026,7 +1026,7 @@ export interface Coords { }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -1036,7 +1036,7 @@ export interface Coords { }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -1046,7 +1046,7 @@ export interface Coords { }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js index b39f22e8789f0..a18f0bd19b593 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -236,7 +236,7 @@ export declare class App { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -246,7 +246,7 @@ export declare class App { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -256,7 +256,7 @@ export declare class App { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -266,7 +266,7 @@ export declare class App { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -276,7 +276,7 @@ export declare class App { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -286,7 +286,7 @@ export declare class App { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -296,7 +296,7 @@ export declare class App { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -483,7 +483,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -493,7 +493,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -503,7 +503,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -513,7 +513,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -523,7 +523,7 @@ export interface ITest { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -533,7 +533,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -543,7 +543,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -687,7 +687,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -697,7 +697,7 @@ export interface ITest { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -707,7 +707,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -717,7 +717,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -727,7 +727,7 @@ export interface ITest { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -737,7 +737,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -747,7 +747,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -891,7 +891,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -901,7 +901,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -911,7 +911,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -921,7 +921,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -931,7 +931,7 @@ export interface ITest { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -941,7 +941,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -951,7 +951,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 32dcce68fd38c..a040d438bb711 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -265,7 +265,7 @@ export declare class App { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -275,7 +275,7 @@ export declare class App { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -285,7 +285,7 @@ export declare class App { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -295,7 +295,7 @@ export declare class App { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -305,7 +305,7 @@ export declare class App { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -315,7 +315,7 @@ export declare class App { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -325,7 +325,7 @@ export declare class App { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -335,7 +335,7 @@ export declare class App { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -533,7 +533,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -543,7 +543,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -553,7 +553,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -563,7 +563,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -573,7 +573,7 @@ export interface ITest { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -583,7 +583,7 @@ export interface ITest { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -593,7 +593,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -603,7 +603,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -754,7 +754,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -764,7 +764,7 @@ export interface ITest { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -774,7 +774,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -784,7 +784,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -794,7 +794,7 @@ export interface ITest { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -804,7 +804,7 @@ export interface ITest { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -814,7 +814,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -824,7 +824,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -975,7 +975,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -985,7 +985,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -995,7 +995,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -1005,7 +1005,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -1015,7 +1015,7 @@ export interface ITest { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -1025,7 +1025,7 @@ export interface ITest { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -1035,7 +1035,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -1045,7 +1045,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 930d29d00cd52..321946c3a5e2c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -83,7 +83,7 @@ console.log(b.c.d); "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -92,7 +92,7 @@ console.log(b.c.d); }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -101,7 +101,7 @@ console.log(b.c.d); }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -110,7 +110,7 @@ console.log(b.c.d); }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -265,7 +265,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -274,7 +274,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -283,7 +283,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -292,7 +292,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -422,7 +422,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -431,7 +431,7 @@ Output:: }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -440,7 +440,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -449,7 +449,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -570,7 +570,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -579,7 +579,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -588,7 +588,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -597,7 +597,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js index 27c37b48a07eb..e924858250287 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -110,7 +110,7 @@ console.log(b.c.d); "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -119,7 +119,7 @@ console.log(b.c.d); }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-22447130237-export class C\n{\n d = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -128,7 +128,7 @@ console.log(b.c.d); }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -137,7 +137,7 @@ console.log(b.c.d); }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -300,7 +300,7 @@ exports.C = C; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -310,7 +310,7 @@ exports.C = C; }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -320,7 +320,7 @@ exports.C = C; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -330,7 +330,7 @@ exports.C = C; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -474,7 +474,7 @@ exports.C = C; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -484,7 +484,7 @@ exports.C = C; }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -494,7 +494,7 @@ exports.C = C; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -503,7 +503,7 @@ exports.C = C; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -638,7 +638,7 @@ exports.C = C; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -648,7 +648,7 @@ exports.C = C; }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -658,7 +658,7 @@ exports.C = C; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -667,7 +667,7 @@ exports.C = C; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index ead938d7f72d7..cc07586b42723 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -152,7 +152,7 @@ require("./d"); "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -161,7 +161,7 @@ require("./d"); }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -170,7 +170,7 @@ require("./d"); }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -179,7 +179,7 @@ require("./d"); }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -188,7 +188,7 @@ require("./d"); }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -197,7 +197,7 @@ require("./d"); }, "version": "-5185546240-import \"./d\";", "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -413,7 +413,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -423,7 +423,7 @@ Output:: }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -433,7 +433,7 @@ Output:: }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -443,7 +443,7 @@ Output:: }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -453,7 +453,7 @@ Output:: }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -463,7 +463,7 @@ Output:: }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -624,7 +624,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -634,7 +634,7 @@ Output:: }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -644,7 +644,7 @@ Output:: }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -653,7 +653,7 @@ Output:: }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -662,7 +662,7 @@ Output:: }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -671,7 +671,7 @@ Output:: }, "version": "-5185546240-import \"./d\";", "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -853,7 +853,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -863,7 +863,7 @@ Output:: }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -873,7 +873,7 @@ Output:: }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -882,7 +882,7 @@ Output:: }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -891,7 +891,7 @@ Output:: }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -900,7 +900,7 @@ Output:: }, "version": "-5185546240-import \"./d\";", "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js index af1280df642cd..683f705193be7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js @@ -205,7 +205,7 @@ exports.App = App; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -214,7 +214,7 @@ exports.App = App; }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -223,7 +223,7 @@ exports.App = App; }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -232,7 +232,7 @@ exports.App = App; }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -241,7 +241,7 @@ exports.App = App; }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -250,7 +250,7 @@ exports.App = App; }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -259,7 +259,7 @@ exports.App = App; }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -442,7 +442,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -452,7 +452,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -462,7 +462,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -472,7 +472,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -482,7 +482,7 @@ Output:: }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -492,7 +492,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -502,7 +502,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -655,7 +655,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -665,7 +665,7 @@ Output:: }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -675,7 +675,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -684,7 +684,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -693,7 +693,7 @@ Output:: }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -702,7 +702,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -711,7 +711,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -855,7 +855,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -865,7 +865,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -875,7 +875,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -884,7 +884,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -893,7 +893,7 @@ Output:: }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -902,7 +902,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -911,7 +911,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js index fcaa3721e466b..86a9afc4bae49 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -225,7 +225,7 @@ exports.App = App; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -234,7 +234,7 @@ exports.App = App; }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -243,7 +243,7 @@ exports.App = App; }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -252,7 +252,7 @@ exports.App = App; }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -261,7 +261,7 @@ exports.App = App; }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -270,7 +270,7 @@ exports.App = App; }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -279,7 +279,7 @@ exports.App = App; }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -288,7 +288,7 @@ exports.App = App; }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -483,7 +483,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -493,7 +493,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -503,7 +503,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -513,7 +513,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -523,7 +523,7 @@ Output:: }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -533,7 +533,7 @@ Output:: }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -543,7 +543,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -553,7 +553,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -715,7 +715,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -725,7 +725,7 @@ Output:: }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -735,7 +735,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -744,7 +744,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -753,7 +753,7 @@ Output:: }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -762,7 +762,7 @@ Output:: }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -771,7 +771,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -780,7 +780,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -933,7 +933,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -943,7 +943,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -953,7 +953,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -962,7 +962,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -971,7 +971,7 @@ Output:: }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -980,7 +980,7 @@ Output:: }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -989,7 +989,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -998,7 +998,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 0fc045fa22dc1..58ad4a7766387 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -87,7 +87,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -96,7 +96,7 @@ export {}; }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -105,7 +105,7 @@ export {}; }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -115,7 +115,7 @@ export {}; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -275,7 +275,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -284,7 +284,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -293,7 +293,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -303,7 +303,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -438,7 +438,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -447,7 +447,7 @@ Output:: }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -456,7 +456,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -466,7 +466,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -592,7 +592,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -601,7 +601,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -610,7 +610,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -620,7 +620,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index 2192a54990c73..dbdee222693ca 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -127,7 +127,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -137,7 +137,7 @@ export {}; }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -147,7 +147,7 @@ export {}; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -157,7 +157,7 @@ export {}; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -331,7 +331,7 @@ export declare class C { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -341,7 +341,7 @@ export declare class C { }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -351,7 +351,7 @@ export declare class C { }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -361,7 +361,7 @@ export declare class C { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -517,7 +517,7 @@ export declare class C { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -527,7 +527,7 @@ export declare class C { }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -537,7 +537,7 @@ export declare class C { }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -547,7 +547,7 @@ export declare class C { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -694,7 +694,7 @@ export declare class C { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -704,7 +704,7 @@ export declare class C { }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -714,7 +714,7 @@ export declare class C { }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -724,7 +724,7 @@ export declare class C { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 5abbb52b7b0e7..4f9b8bb1ed9f0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -182,7 +182,7 @@ import "./d"; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -192,7 +192,7 @@ import "./d"; }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -202,7 +202,7 @@ import "./d"; }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -212,7 +212,7 @@ import "./d"; }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -222,7 +222,7 @@ import "./d"; }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -232,7 +232,7 @@ import "./d"; }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -464,7 +464,7 @@ export interface Coords { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -474,7 +474,7 @@ export interface Coords { }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -484,7 +484,7 @@ export interface Coords { }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -494,7 +494,7 @@ export interface Coords { }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -504,7 +504,7 @@ export interface Coords { }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -514,7 +514,7 @@ export interface Coords { }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -694,7 +694,7 @@ export interface Coords { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -704,7 +704,7 @@ export interface Coords { }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -714,7 +714,7 @@ export interface Coords { }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -724,7 +724,7 @@ export interface Coords { }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -734,7 +734,7 @@ export interface Coords { }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -744,7 +744,7 @@ export interface Coords { }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -945,7 +945,7 @@ export interface Coords { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -955,7 +955,7 @@ export interface Coords { }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -965,7 +965,7 @@ export interface Coords { }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -975,7 +975,7 @@ export interface Coords { }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -985,7 +985,7 @@ export interface Coords { }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -995,7 +995,7 @@ export interface Coords { }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js index 713c41ef12470..61468f6f7b704 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -236,7 +236,7 @@ export declare class App { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -246,7 +246,7 @@ export declare class App { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -256,7 +256,7 @@ export declare class App { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -266,7 +266,7 @@ export declare class App { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -276,7 +276,7 @@ export declare class App { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -286,7 +286,7 @@ export declare class App { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -296,7 +296,7 @@ export declare class App { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -490,7 +490,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -500,7 +500,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -510,7 +510,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -520,7 +520,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -530,7 +530,7 @@ export interface ITest { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -540,7 +540,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -550,7 +550,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -718,7 +718,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -728,7 +728,7 @@ export interface ITest { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -738,7 +738,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -748,7 +748,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -758,7 +758,7 @@ export interface ITest { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -768,7 +768,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -778,7 +778,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -937,7 +937,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -947,7 +947,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -957,7 +957,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -967,7 +967,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -977,7 +977,7 @@ export interface ITest { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -987,7 +987,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -997,7 +997,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 6e2153801fdf0..1517173468821 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -265,7 +265,7 @@ export declare class App { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -275,7 +275,7 @@ export declare class App { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -285,7 +285,7 @@ export declare class App { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -295,7 +295,7 @@ export declare class App { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -305,7 +305,7 @@ export declare class App { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -315,7 +315,7 @@ export declare class App { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -325,7 +325,7 @@ export declare class App { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -335,7 +335,7 @@ export declare class App { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -541,7 +541,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -551,7 +551,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -561,7 +561,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -571,7 +571,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -581,7 +581,7 @@ export interface ITest { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -591,7 +591,7 @@ export interface ITest { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -601,7 +601,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -611,7 +611,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -789,7 +789,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -799,7 +799,7 @@ export interface ITest { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -809,7 +809,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -819,7 +819,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -829,7 +829,7 @@ export interface ITest { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -839,7 +839,7 @@ export interface ITest { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -849,7 +849,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -859,7 +859,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1028,7 +1028,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -1038,7 +1038,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -1048,7 +1048,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -1058,7 +1058,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -1068,7 +1068,7 @@ export interface ITest { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -1078,7 +1078,7 @@ export interface ITest { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -1088,7 +1088,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -1098,7 +1098,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index f24acef6b663e..0fa38e0f7c42b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -83,7 +83,7 @@ console.log(b.c.d); "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -92,7 +92,7 @@ console.log(b.c.d); }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -101,7 +101,7 @@ console.log(b.c.d); }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -110,7 +110,7 @@ console.log(b.c.d); }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -266,7 +266,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -275,7 +275,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -284,7 +284,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -293,7 +293,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -424,7 +424,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -433,7 +433,7 @@ Output:: }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -442,7 +442,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -451,7 +451,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -573,7 +573,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -582,7 +582,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -591,7 +591,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -600,7 +600,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js index d5fc0854afdf5..9a744223a2f96 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -110,7 +110,7 @@ console.log(b.c.d); "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -119,7 +119,7 @@ console.log(b.c.d); }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-22447130237-export class C\n{\n d = 1;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -128,7 +128,7 @@ console.log(b.c.d); }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -137,7 +137,7 @@ console.log(b.c.d); }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -299,7 +299,7 @@ exports.C = C; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -309,7 +309,7 @@ exports.C = C; }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -318,7 +318,7 @@ exports.C = C; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -327,7 +327,7 @@ exports.C = C; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -471,7 +471,7 @@ exports.C = C; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -481,7 +481,7 @@ exports.C = C; }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -490,7 +490,7 @@ exports.C = C; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -499,7 +499,7 @@ exports.C = C; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -634,7 +634,7 @@ exports.C = C; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -644,7 +644,7 @@ exports.C = C; }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -653,7 +653,7 @@ exports.C = C; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -662,7 +662,7 @@ exports.C = C; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 81e6ef0d3373b..7a5f6a59d47a4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -152,7 +152,7 @@ require("./d"); "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -161,7 +161,7 @@ require("./d"); }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -170,7 +170,7 @@ require("./d"); }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -179,7 +179,7 @@ require("./d"); }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -188,7 +188,7 @@ require("./d"); }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -197,7 +197,7 @@ require("./d"); }, "version": "-5185546240-import \"./d\";", "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -410,7 +410,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -420,7 +420,7 @@ Output:: }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -429,7 +429,7 @@ Output:: }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -438,7 +438,7 @@ Output:: }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -447,7 +447,7 @@ Output:: }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -456,7 +456,7 @@ Output:: }, "version": "-5185546240-import \"./d\";", "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -617,7 +617,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -627,7 +627,7 @@ Output:: }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -636,7 +636,7 @@ Output:: }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -645,7 +645,7 @@ Output:: }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -654,7 +654,7 @@ Output:: }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -663,7 +663,7 @@ Output:: }, "version": "-5185546240-import \"./d\";", "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -845,7 +845,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -855,7 +855,7 @@ Output:: }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -864,7 +864,7 @@ Output:: }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -873,7 +873,7 @@ Output:: }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -882,7 +882,7 @@ Output:: }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -891,7 +891,7 @@ Output:: }, "version": "-5185546240-import \"./d\";", "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js index fdaf5d1aff7ae..0d11631ad4817 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js @@ -205,7 +205,7 @@ exports.App = App; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -214,7 +214,7 @@ exports.App = App; }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -223,7 +223,7 @@ exports.App = App; }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -232,7 +232,7 @@ exports.App = App; }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -241,7 +241,7 @@ exports.App = App; }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -250,7 +250,7 @@ exports.App = App; }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -259,7 +259,7 @@ exports.App = App; }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -438,7 +438,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -448,7 +448,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -457,7 +457,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -466,7 +466,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -475,7 +475,7 @@ Output:: }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -484,7 +484,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -493,7 +493,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -646,7 +646,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -656,7 +656,7 @@ Output:: }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -665,7 +665,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -674,7 +674,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -683,7 +683,7 @@ Output:: }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -692,7 +692,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -701,7 +701,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -845,7 +845,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -855,7 +855,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -864,7 +864,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -873,7 +873,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -882,7 +882,7 @@ Output:: }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -891,7 +891,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -900,7 +900,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js index e59798981480e..5f47bee6e1467 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -225,7 +225,7 @@ exports.App = App; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -234,7 +234,7 @@ exports.App = App; }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -243,7 +243,7 @@ exports.App = App; }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -252,7 +252,7 @@ exports.App = App; }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -261,7 +261,7 @@ exports.App = App; }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -270,7 +270,7 @@ exports.App = App; }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -279,7 +279,7 @@ exports.App = App; }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -288,7 +288,7 @@ exports.App = App; }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -478,7 +478,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -488,7 +488,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -497,7 +497,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -506,7 +506,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -515,7 +515,7 @@ Output:: }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -524,7 +524,7 @@ Output:: }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -533,7 +533,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -542,7 +542,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -704,7 +704,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -714,7 +714,7 @@ Output:: }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -723,7 +723,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -732,7 +732,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -741,7 +741,7 @@ Output:: }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -750,7 +750,7 @@ Output:: }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -759,7 +759,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -768,7 +768,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -921,7 +921,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -931,7 +931,7 @@ Output:: }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -940,7 +940,7 @@ Output:: }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -949,7 +949,7 @@ Output:: }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -958,7 +958,7 @@ Output:: }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -967,7 +967,7 @@ Output:: }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -976,7 +976,7 @@ Output:: }, "version": "-9530042629-export * from \"./data\";", "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -985,7 +985,7 @@ Output:: }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 18ed173c9efa2..45d3371346f1b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -87,7 +87,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -96,7 +96,7 @@ export {}; }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -105,7 +105,7 @@ export {}; }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -115,7 +115,7 @@ export {}; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -276,7 +276,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -285,7 +285,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -294,7 +294,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -304,7 +304,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -440,7 +440,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -449,7 +449,7 @@ Output:: }, "version": "-18774426152-export class C\n{\n d: number;\n}", "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -458,7 +458,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -468,7 +468,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -595,7 +595,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.d.ts": { "original": { @@ -604,7 +604,7 @@ Output:: }, "version": "-21444928214-export class C\n{\n d2: number;\n}", "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.d.ts": { "original": { @@ -613,7 +613,7 @@ Output:: }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -623,7 +623,7 @@ Output:: }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index d2b957d1eb80a..2c45421fbea0d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -127,7 +127,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -137,7 +137,7 @@ export {}; }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -147,7 +147,7 @@ export {}; }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -157,7 +157,7 @@ export {}; }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -331,7 +331,7 @@ export declare class C { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -341,7 +341,7 @@ export declare class C { }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -351,7 +351,7 @@ export declare class C { }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -361,7 +361,7 @@ export declare class C { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -517,7 +517,7 @@ export declare class C { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -527,7 +527,7 @@ export declare class C { }, "version": "-22447130237-export class C\n{\n d = 1;\n}", "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -537,7 +537,7 @@ export declare class C { }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -547,7 +547,7 @@ export declare class C { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -694,7 +694,7 @@ export declare class C { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -704,7 +704,7 @@ export declare class C { }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -714,7 +714,7 @@ export declare class C { }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -724,7 +724,7 @@ export declare class C { }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 2b0683981c8eb..941abf82ba6b5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -182,7 +182,7 @@ import "./d"; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -192,7 +192,7 @@ import "./d"; }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -202,7 +202,7 @@ import "./d"; }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -212,7 +212,7 @@ import "./d"; }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -222,7 +222,7 @@ import "./d"; }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -232,7 +232,7 @@ import "./d"; }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -464,7 +464,7 @@ export interface Coords { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -474,7 +474,7 @@ export interface Coords { }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -484,7 +484,7 @@ export interface Coords { }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -494,7 +494,7 @@ export interface Coords { }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -504,7 +504,7 @@ export interface Coords { }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -514,7 +514,7 @@ export interface Coords { }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -694,7 +694,7 @@ export interface Coords { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -704,7 +704,7 @@ export interface Coords { }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -714,7 +714,7 @@ export interface Coords { }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -724,7 +724,7 @@ export interface Coords { }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -734,7 +734,7 @@ export interface Coords { }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -744,7 +744,7 @@ export interface Coords { }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -945,7 +945,7 @@ export interface Coords { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -955,7 +955,7 @@ export interface Coords { }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -965,7 +965,7 @@ export interface Coords { }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -975,7 +975,7 @@ export interface Coords { }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./d.ts": { "original": { @@ -985,7 +985,7 @@ export interface Coords { }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./e.ts": { "original": { @@ -995,7 +995,7 @@ export interface Coords { }, "version": "-5185546240-import \"./d\";", "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js index 98b64c3cc2d94..91e43d50fb148 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -236,7 +236,7 @@ export declare class App { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -246,7 +246,7 @@ export declare class App { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -256,7 +256,7 @@ export declare class App { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -266,7 +266,7 @@ export declare class App { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -276,7 +276,7 @@ export declare class App { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -286,7 +286,7 @@ export declare class App { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -296,7 +296,7 @@ export declare class App { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -490,7 +490,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -500,7 +500,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -510,7 +510,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -520,7 +520,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -530,7 +530,7 @@ export interface ITest { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -540,7 +540,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -550,7 +550,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -718,7 +718,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -728,7 +728,7 @@ export interface ITest { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -738,7 +738,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -748,7 +748,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -758,7 +758,7 @@ export interface ITest { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -768,7 +768,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -778,7 +778,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -937,7 +937,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -947,7 +947,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -957,7 +957,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -967,7 +967,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -977,7 +977,7 @@ export interface ITest { }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -987,7 +987,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -997,7 +997,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index d813296a63ecb..71d8ccd3ecd3d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -265,7 +265,7 @@ export declare class App { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -275,7 +275,7 @@ export declare class App { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -285,7 +285,7 @@ export declare class App { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -295,7 +295,7 @@ export declare class App { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -305,7 +305,7 @@ export declare class App { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -315,7 +315,7 @@ export declare class App { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -325,7 +325,7 @@ export declare class App { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -335,7 +335,7 @@ export declare class App { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -541,7 +541,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -551,7 +551,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -561,7 +561,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -571,7 +571,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -581,7 +581,7 @@ export interface ITest { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -591,7 +591,7 @@ export interface ITest { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -601,7 +601,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -611,7 +611,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -789,7 +789,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -799,7 +799,7 @@ export interface ITest { }, "version": "-4369626085-export interface ITest {\n title: string;\n}", "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -809,7 +809,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -819,7 +819,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -829,7 +829,7 @@ export interface ITest { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -839,7 +839,7 @@ export interface ITest { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -849,7 +849,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -859,7 +859,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1028,7 +1028,7 @@ export interface ITest { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/toolsinterface.ts": { "original": { @@ -1038,7 +1038,7 @@ export interface ITest { }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/tools/public.ts": { "original": { @@ -1048,7 +1048,7 @@ export interface ITest { }, "version": "-10750058173-export * from \"./toolsinterface\";", "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib1/public.ts": { "original": { @@ -1058,7 +1058,7 @@ export interface ITest { }, "version": "-5078933600-export * from \"./tools/public\";", "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data2.ts": { "original": { @@ -1068,7 +1068,7 @@ export interface ITest { }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/data.ts": { "original": { @@ -1078,7 +1078,7 @@ export interface ITest { }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib2/public.ts": { "original": { @@ -1088,7 +1088,7 @@ export interface ITest { }, "version": "-9530042629-export * from \"./data\";", "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./app.ts": { "original": { @@ -1098,7 +1098,7 @@ export interface ITest { }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/extends/configDir-template.js b/tests/baselines/reference/tscWatch/extends/configDir-template.js index 9f52dc3e5f12c..fc805298748aa 100644 --- a/tests/baselines/reference/tscWatch/extends/configDir-template.js +++ b/tests/baselines/reference/tscWatch/extends/configDir-template.js @@ -177,7 +177,7 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/packag FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} File location affecting resolution FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} File location affecting resolution ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts @@ -430,7 +430,7 @@ File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/configs 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/configs 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js index 6256657658c41..7566749cfb599 100644 --- a/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js @@ -100,7 +100,7 @@ export declare const x = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -110,7 +110,7 @@ export declare const x = 10; }, "version": "6873164248-// some comment\nexport const x = 10;\n", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js index eb171c06c3032..0b0c7f7f24739 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js @@ -66,7 +66,7 @@ Output:: File is matched by 'files' list specified here. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/react/Jsx-Runtime/index.d.ts Part of 'files' list in tsconfig.json Imported via "react/jsx-runtime" from file 'index.tsx' with packageId 'react/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/package-json-is-looked-up-for-file.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/package-json-is-looked-up-for-file.js index e20b85e04d672..017fa474ebe02 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/package-json-is-looked-up-for-file.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/package-json-is-looked-up-for-file.js @@ -63,7 +63,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist. ../../../../a/lib/lib.es2021.full.d.ts - Default library for target 'es2021' + Default library for target 'ES2021' src/index.ts Matched by default include pattern '**/*' Imported via 'lib-boilerplate' from file 'test/basic.spec.ts' with packageId 'lib-boilerplate/src/index.ts@0.0.2' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js index 0bbff3b3dc888..48e76e48606e9 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/self-name-package-reference.js @@ -59,7 +59,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist. ../../../../a/lib/lib.esnext.full.d.ts - Default library for target 'esnext' + Default library for target 'ESNext' index.ts Matched by default include pattern '**/*' Imported via "@this/package" from file 'index.ts' @@ -103,7 +103,7 @@ export declare function thing(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../index.ts": { "original": { @@ -113,7 +113,7 @@ export declare function thing(): void; }, "version": "14361483761-import * as me from \"@this/package\";\nme.thing();\nexport function thing(): void {}\n", "signature": "-2724770439-export declare function thing(): void;\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js index 5c4a1b745e69b..5935de34c2318 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js @@ -41,7 +41,7 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' project/a.ts Matched by default include pattern '**/*' Imported via "C://project/a" from file 'project/b.ts' @@ -143,7 +143,7 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' project/a.ts Matched by default include pattern '**/*' Imported via "C://project/a" from file 'project/b.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js index 1bbcf7aaf84a0..60a7b739f4ec2 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js @@ -41,7 +41,7 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' project/a.ts Matched by default include pattern '**/*' Imported via "C://project/a" from file 'project/b.ts' @@ -143,7 +143,7 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' project/a.ts Matched by default include pattern '**/*' Imported via "C://project/a" from file 'project/b.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js index b448847a55fda..40fea6fbfde0c 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js @@ -60,7 +60,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mypr DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -212,7 +212,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/b.ts","/user/username/projects/myproject/XY/a.ts"] options: {"forceConsistentCasingInFileNames":true,"outFile":"/user/username/projects/myproject/out.js","module":4,"watch":true,"project":"/user/username/projects/myproject","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js index f020c9635e300..a47993801f224 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js @@ -57,7 +57,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mypr DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -194,7 +194,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/XY.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/link.ts"] options: {"forceConsistentCasingInFileNames":true,"watch":true,"project":"/user/username/projects/myproject","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js index e9f6bdcfd9053..40adccfacc8a0 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js @@ -60,7 +60,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mypr DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -212,7 +212,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/b.ts","/user/username/projects/myproject/XY/a.ts"] options: {"forceConsistentCasingInFileNames":true,"outFile":"/user/username/projects/myproject/out.js","module":4,"watch":true,"project":"/user/username/projects/myproject","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 8eece77e854b0..e3dac71553722 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -284,7 +284,7 @@ Output:: File is included via import here. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/anotherFile.ts' Imported via "fp-ts/lib/struct" from file 'src/anotherFile.ts' @@ -652,7 +652,7 @@ Output:: File is included via import here. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/anotherFile.ts' Imported via "fp-ts/lib/struct" from file 'src/anotherFile.ts' @@ -919,7 +919,7 @@ Output:: File is included via import here. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/anotherFile.ts' Imported via "fp-ts/lib/struct" from file 'src/anotherFile.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js index a31c2bb8428ab..465f53597bd3b 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js @@ -57,7 +57,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mypr DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' @@ -194,7 +194,7 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/XY.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/link.ts"] options: {"forceConsistentCasingInFileNames":true,"watch":true,"project":"/user/username/projects/myproject","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js index 1967751b08978..1395b359b5cfa 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js @@ -68,7 +68,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node    ~~~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -228,7 +228,7 @@ CreatingProgramWith::    ~~~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js index 9ac8c453c537a..042ee34f847b7 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js @@ -65,7 +65,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node    ~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' @@ -210,7 +210,7 @@ CreatingProgramWith::    ~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js index 67120ce615462..c56badd52412f 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js @@ -68,7 +68,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node    ~~~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -228,7 +228,7 @@ CreatingProgramWith::    ~~~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js index 8fe8de8212216..a6223f25bfd3a 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js @@ -65,7 +65,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node    ~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -210,7 +210,7 @@ CreatingProgramWith::    ~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js index cf00eed683969..b953cf72ebdba 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js @@ -68,7 +68,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node    ~~~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -228,7 +228,7 @@ CreatingProgramWith::    ~~~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js index 5da4bc1a8c8e6..1d76c3c5c4ea0 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js @@ -65,7 +65,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node    ~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' @@ -210,7 +210,7 @@ CreatingProgramWith::    ~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js index c756b7240ef79..ecb12cdf8e518 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js @@ -64,7 +64,7 @@ Output:: File is included via import here. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ModuleC.ts Imported via "./ModuleC" from file 'moduleA.ts' Imported via "./moduleC" from file 'moduleB.ts' @@ -203,7 +203,7 @@ Output:: File is included via import here. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ModuleC.ts Imported via "./ModuleC" from file 'moduleA.ts' Imported via "./moduleC" from file 'moduleB.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js index d59303ac57b12..0aaacee8b7f61 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/with-nodeNext-resolution.js @@ -107,7 +107,7 @@ File '/package.json' does not exist according to earlier cached lookups.    ~~~~~~~~~~~~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/@types/yargs/index.d.ts Imported via "yargs" from file 'src/bin.ts' with packageId 'yargs/index.d.ts@17.0.12' Entry point for implicit type library 'yargs' with packageId 'yargs/index.d.ts@17.0.12' diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js index 1bd1347948fec..fea08f3345424 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js @@ -75,7 +75,7 @@ var classnames_1 = require("classnames"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/classnames/index.d.ts": { "original": { @@ -84,7 +84,7 @@ var classnames_1 = require("classnames"); }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", "signature": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -93,7 +93,7 @@ var classnames_1 = require("classnames"); }, "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", "signature": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/types/classnames.d.ts": { "original": { @@ -102,7 +102,7 @@ var classnames_1 = require("classnames"); }, "version": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }", "signature": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -213,7 +213,7 @@ Found 1 error in src/index.ts:1 "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/classnames/index.d.ts": { "original": { @@ -222,7 +222,7 @@ Found 1 error in src/index.ts:1 }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", "signature": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -232,7 +232,7 @@ Found 1 error in src/index.ts:1 }, "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/types/classnames.d.ts": { "original": { @@ -241,7 +241,7 @@ Found 1 error in src/index.ts:1 }, "version": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }", "signature": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js index e06c33dc45e72..93e7825689e1e 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js @@ -80,7 +80,7 @@ var classnames_1 = require("classnames"); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/classnames/index.d.ts": { "original": { @@ -89,7 +89,7 @@ var classnames_1 = require("classnames"); }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", "signature": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -98,7 +98,7 @@ var classnames_1 = require("classnames"); }, "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", "signature": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/types/classnames.d.ts": { "original": { @@ -107,7 +107,7 @@ var classnames_1 = require("classnames"); }, "version": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }", "signature": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -297,7 +297,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/classnames/index.d.ts": { "original": { @@ -306,7 +306,7 @@ Output:: }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", "signature": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -316,7 +316,7 @@ Output:: }, "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/types/classnames.d.ts": { "original": { @@ -325,7 +325,7 @@ Output:: }, "version": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }", "signature": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js index ebd760b295432..e2c494b0ac507 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js @@ -73,7 +73,7 @@ exports.x = tslib_1.__assign({}); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/tslib/index.d.ts": { "original": { @@ -82,7 +82,7 @@ exports.x = tslib_1.__assign({}); }, "version": "1620578607-export function __assign(...args: any[]): any;", "signature": "1620578607-export function __assign(...args: any[]): any;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -91,7 +91,7 @@ exports.x = tslib_1.__assign({}); }, "version": "-14168389096-export const x = {...{}};", "signature": "-14168389096-export const x = {...{}};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ Found 1 error in index.tsx:1 "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -188,7 +188,7 @@ Found 1 error in index.tsx:1 }, "version": "-14168389096-export const x = {...{}};", "signature": "-6508651827-export declare const x: {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js index b036897956ab6..feae4efa63a3c 100644 --- a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js @@ -122,7 +122,7 @@ export { C } from "./c"; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -131,7 +131,7 @@ export { C } from "./c"; }, "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -140,7 +140,7 @@ export { C } from "./c"; }, "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -149,7 +149,7 @@ export { C } from "./c"; }, "version": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -158,7 +158,7 @@ export { C } from "./c"; }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -306,7 +306,7 @@ export interface A { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -315,7 +315,7 @@ export interface A { }, "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -324,7 +324,7 @@ export interface A { }, "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -333,7 +333,7 @@ export interface A { }, "version": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -342,7 +342,7 @@ export interface A { }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js index ba7b5069e11af..3bf490ba8b1a8 100644 --- a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js @@ -127,7 +127,7 @@ export { C } from "./c"; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -136,7 +136,7 @@ export { C } from "./c"; }, "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -145,7 +145,7 @@ export { C } from "./c"; }, "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -154,7 +154,7 @@ export { C } from "./c"; }, "version": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -163,7 +163,7 @@ export { C } from "./c"; }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -373,7 +373,7 @@ export interface A { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./c.ts": { "original": { @@ -382,7 +382,7 @@ export interface A { }, "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -391,7 +391,7 @@ export interface A { }, "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -400,7 +400,7 @@ export interface A { }, "version": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -409,7 +409,7 @@ export interface A { }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js index 408c4dbf80433..07c819dca391c 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js @@ -70,7 +70,7 @@ exports.App = App; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -79,7 +79,7 @@ exports.App = App; }, "version": "-14760199789-export const App = () =>
;", "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -192,7 +192,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/react/jsx-runtime/index.d.ts": { "original": { @@ -201,7 +201,7 @@ Output:: }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -211,7 +211,7 @@ Output:: }, "version": "-14760199789-export const App = () =>
;", "signature": "-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js index df06e45964c68..ffd4e87debb03 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js @@ -72,7 +72,7 @@ exports.App = App; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -81,7 +81,7 @@ exports.App = App; }, "version": "-14760199789-export const App = () =>
;", "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -252,7 +252,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/react/jsx-runtime/index.d.ts": { "original": { @@ -261,7 +261,7 @@ Output:: }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -271,7 +271,7 @@ Output:: }, "version": "-14760199789-export const App = () =>
;", "signature": "-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js index eedbf5d96ce0a..407e9c77d375b 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js @@ -88,7 +88,7 @@ exports.App = App; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/react/jsx-runtime/index.d.ts": { "original": { @@ -97,7 +97,7 @@ exports.App = App; }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -106,7 +106,7 @@ exports.App = App; }, "version": "-14760199789-export const App = () =>
;", "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -197,7 +197,7 @@ Found 1 error in index.tsx:1 "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -207,7 +207,7 @@ Found 1 error in index.tsx:1 }, "version": "-14760199789-export const App = () =>
;", "signature": "-11175433774-export declare const App: () => any;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js index 3ddb6c06206a7..50e0f855aa66e 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js @@ -93,7 +93,7 @@ exports.App = App; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/react/jsx-runtime/index.d.ts": { "original": { @@ -102,7 +102,7 @@ exports.App = App; }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -111,7 +111,7 @@ exports.App = App; }, "version": "-14760199789-export const App = () =>
;", "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -265,7 +265,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -275,7 +275,7 @@ Output:: }, "version": "-14760199789-export const App = () =>
;", "signature": "-11175433774-export declare const App: () => any;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js index 68d120a559ce2..ce654d93b684a 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js @@ -72,7 +72,7 @@ export const App = () =>
; /a/lib/tsc.js -i --explainFiles Output:: ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/react/jsx-runtime/index.d.ts Imported via "react/jsx-runtime" from file 'index.tsx' with packageId 'react/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions index.tsx @@ -114,7 +114,7 @@ exports.App = App; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/react/jsx-runtime/index.d.ts": { "original": { @@ -123,7 +123,7 @@ exports.App = App; }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -132,7 +132,7 @@ exports.App = App; }, "version": "-14760199789-export const App = () =>
;", "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -208,7 +208,7 @@ Output::    ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/preact/jsx-runtime/index.d.ts Imported via "preact/jsx-runtime" from file 'index.tsx' with packageId 'preact/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions index.tsx @@ -253,7 +253,7 @@ exports.App = App; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/preact/jsx-runtime/index.d.ts": { "original": { @@ -262,7 +262,7 @@ exports.App = App; }, "version": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", "signature": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -272,7 +272,7 @@ exports.App = App; }, "version": "-14760199789-export const App = () =>
;", "signature": "-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js index ca07a34e488d8..6507ac4950e1e 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js @@ -75,7 +75,7 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/react/jsx-runtime/index.d.ts Imported via "react/jsx-runtime" from file 'index.tsx' with packageId 'react/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions index.tsx @@ -119,7 +119,7 @@ exports.App = App; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/react/jsx-runtime/index.d.ts": { "original": { @@ -128,7 +128,7 @@ exports.App = App; }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -137,7 +137,7 @@ exports.App = App; }, "version": "-14760199789-export const App = () =>
;", "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -277,7 +277,7 @@ Output::    ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/preact/jsx-runtime/index.d.ts Imported via "preact/jsx-runtime" from file 'index.tsx' with packageId 'preact/jsx-runtime/index.d.ts@0.0.1' to import 'jsx' and 'jsxs' factory functions index.tsx @@ -321,7 +321,7 @@ exports.App = App; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/preact/jsx-runtime/index.d.ts": { "original": { @@ -330,7 +330,7 @@ exports.App = App; }, "version": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", "signature": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.tsx": { "original": { @@ -340,7 +340,7 @@ exports.App = App; }, "version": "-14760199789-export const App = () =>
;", "signature": "-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js index 731a6291aadfb..283a4b0ee1017 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js @@ -79,7 +79,7 @@ define(["require", "exports"], function (require, exports) { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -88,7 +88,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -97,7 +97,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-13939690350-export const y: string = 20;", "signature": "-13939690350-export const y: string = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -208,7 +208,7 @@ define(["require", "exports"], function (require, exports) { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -218,7 +218,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-12438487295-export const z = 10;", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -227,7 +227,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-13939690350-export const y: string = 20;", "signature": "-13939690350-export const y: string = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js index 7f8eceb5fa95f..b6232a2a7a364 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js @@ -81,7 +81,7 @@ define(["require", "exports"], function (require, exports) { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -90,7 +90,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -99,7 +99,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-13939690350-export const y: string = 20;", "signature": "-13939690350-export const y: string = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -261,7 +261,7 @@ define(["require", "exports"], function (require, exports) { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -271,7 +271,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-12438487295-export const z = 10;", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -280,7 +280,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-13939690350-export const y: string = 20;", "signature": "-13939690350-export const y: string = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js index 187571993cd3e..673761705b2cd 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js @@ -71,7 +71,7 @@ define(["require", "exports"], function (require, exports) { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -80,7 +80,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -89,7 +89,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-13729954175-export const y = 20;", "signature": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ define(["require", "exports"], function (require, exports) { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -187,7 +187,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -197,7 +197,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-12438487295-export const z = 10;", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js index 700fca7ab0ddd..f2f7b891a6705 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js @@ -76,7 +76,7 @@ define(["require", "exports"], function (require, exports) { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -85,7 +85,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -94,7 +94,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-13729954175-export const y = 20;", "signature": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -237,7 +237,7 @@ define(["require", "exports"], function (require, exports) { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -246,7 +246,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -256,7 +256,7 @@ define(["require", "exports"], function (require, exports) { }, "version": "-12438487295-export const z = 10;", "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 7e5b1f8349dac..396cfa198c6e9 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 @@ -66,7 +66,7 @@ define("file2", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -74,7 +74,7 @@ define("file2", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -82,7 +82,7 @@ define("file2", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 fb244f4e0ec5a..c01848bfd0648 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 @@ -71,7 +71,7 @@ define("file2", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -79,7 +79,7 @@ define("file2", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -87,7 +87,7 @@ define("file2", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js index 6d1af9f9c64ea..8166709308c9e 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js @@ -68,7 +68,7 @@ var y = 20; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -79,7 +79,7 @@ var y = 20; "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -90,7 +90,7 @@ var y = 20; "version": "2414573776-const y: string = 20;", "signature": "2414573776-const y: string = 20;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -193,7 +193,7 @@ var z = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -205,7 +205,7 @@ var z = 10; "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -217,7 +217,7 @@ var z = 10; "version": "2414573776-const y: string = 20;", "signature": "509180395-declare const y: string;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js index 6e26653146e8b..663b538db4de9 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js @@ -70,7 +70,7 @@ var y = 20; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -81,7 +81,7 @@ var y = 20; "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -92,7 +92,7 @@ var y = 20; "version": "2414573776-const y: string = 20;", "signature": "2414573776-const y: string = 20;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -238,7 +238,7 @@ var z = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -250,7 +250,7 @@ var z = 10; "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -262,7 +262,7 @@ var z = 10; "version": "2414573776-const y: string = 20;", "signature": "509180395-declare const y: string;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js index 1e6fd0dea6a0d..e1070aa45611a 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js @@ -60,7 +60,7 @@ var y = 20; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -71,7 +71,7 @@ var y = 20; "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -82,7 +82,7 @@ var y = 20; "version": "2026007743-const y = 20;", "signature": "2026007743-const y = 20;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -164,7 +164,7 @@ var z = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -176,7 +176,7 @@ var z = 10; "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -188,7 +188,7 @@ var z = 10; "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js index fed72e35ff11c..b237b224dce49 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js @@ -65,7 +65,7 @@ var y = 20; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -76,7 +76,7 @@ var y = 20; "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -87,7 +87,7 @@ var y = 20; "version": "2026007743-const y = 20;", "signature": "2026007743-const y = 20;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -215,7 +215,7 @@ var z = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -227,7 +227,7 @@ var z = 10; "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -239,7 +239,7 @@ var z = 10; "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js index ec7346bb2ac6d..a0176bd6d9b18 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js @@ -60,7 +60,7 @@ var y = 20; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -71,7 +71,7 @@ var y = 20; "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -82,7 +82,7 @@ var y = 20; "version": "2026007743-const y = 20;", "signature": "2026007743-const y = 20;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -163,7 +163,7 @@ var z = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -175,7 +175,7 @@ var z = 10; "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -187,7 +187,7 @@ var z = 10; "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js index a134505234c02..1234a2e7b981c 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js @@ -65,7 +65,7 @@ var y = 20; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -76,7 +76,7 @@ var y = 20; "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -87,7 +87,7 @@ var y = 20; "version": "2026007743-const y = 20;", "signature": "2026007743-const y = 20;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -214,7 +214,7 @@ var z = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -226,7 +226,7 @@ var z = 10; "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -238,7 +238,7 @@ var z = 10; "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js b/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js index 06e16a8d2b1ba..05e458e1ca2eb 100644 --- a/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js @@ -59,7 +59,7 @@ exports.x = 10; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -68,7 +68,7 @@ exports.x = 10; }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js index 1b3fe10d304fb..f36e8f1df7cd3 100644 --- a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js @@ -58,7 +58,7 @@ console.log(Config.value); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./globals.d.ts": { "original": { @@ -69,7 +69,7 @@ console.log(Config.value); "version": "-6314871648-declare namespace Config { const value: string;} ", "signature": "-6314871648-declare namespace Config { const value: string;} ", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -80,7 +80,7 @@ console.log(Config.value); "version": "5371023861-console.log(Config.value);", "signature": "5371023861-console.log(Config.value);", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -162,7 +162,7 @@ Found 1 error in index.ts:1 "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -174,7 +174,7 @@ Found 1 error in index.ts:1 "version": "5371023861-console.log(Config.value);", "signature": "5381-", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js index f7d63e59601c0..c142c7fbce760 100644 --- a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js @@ -63,7 +63,7 @@ console.log(Config.value); "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./globals.d.ts": { "original": { @@ -74,7 +74,7 @@ console.log(Config.value); "version": "-6314871648-declare namespace Config { const value: string;} ", "signature": "-6314871648-declare namespace Config { const value: string;} ", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -85,7 +85,7 @@ console.log(Config.value); "version": "5371023861-console.log(Config.value);", "signature": "5371023861-console.log(Config.value);", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -210,7 +210,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -222,7 +222,7 @@ Output:: "version": "5371023861-console.log(Config.value);", "signature": "5381-", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js index d0c2f01b2c8be..0b5b252423240 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -55,7 +55,7 @@ var y = 20; "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -63,7 +63,7 @@ var y = 20; "impliedFormat": 1 }, "version": "5029505981-const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -71,7 +71,7 @@ var y = 20; "impliedFormat": 1 }, "version": "2026007743-const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js index 19695e989d7ee..44772cc3a5269 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -60,7 +60,7 @@ var y = 20; "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file1.ts": { "original": { @@ -68,7 +68,7 @@ var y = 20; "impliedFormat": 1 }, "version": "5029505981-const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -76,7 +76,7 @@ var y = 20; "impliedFormat": 1 }, "version": "2026007743-const y = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js b/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js index e274053a357ca..0e27f8e3c5e20 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js @@ -141,7 +141,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu    ~~~~~~~~~~ ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' project1/core.d.ts @@ -216,7 +216,7 @@ export declare const x = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -227,7 +227,7 @@ export declare const x = "type1"; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -236,7 +236,7 @@ export declare const x = "type1"; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -246,7 +246,7 @@ export declare const x = "type1"; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -256,7 +256,7 @@ export declare const x = "type1"; }, "version": "-15920922626-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -266,7 +266,7 @@ export declare const x = "type1"; }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -275,7 +275,7 @@ export declare const x = "type1"; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -458,7 +458,7 @@ Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projec    ~~~~~~~~~~ ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' project1/core.d.ts @@ -513,7 +513,7 @@ export declare const xyz = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -524,7 +524,7 @@ export declare const xyz = 10; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -533,7 +533,7 @@ export declare const xyz = 10; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -543,7 +543,7 @@ export declare const xyz = 10; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -553,7 +553,7 @@ export declare const xyz = 10; }, "version": "-15920922626-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -563,7 +563,7 @@ export declare const xyz = 10; }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -572,7 +572,7 @@ export declare const xyz = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -706,7 +706,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project1/core.d.ts 250 undef    ~~~~~~~~~~ ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' project1/file.ts @@ -745,7 +745,7 @@ project1/utils.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -756,7 +756,7 @@ project1/utils.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -766,7 +766,7 @@ project1/utils.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -776,7 +776,7 @@ project1/utils.d.ts }, "version": "-15920922626-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -786,7 +786,7 @@ project1/utils.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -795,7 +795,7 @@ project1/utils.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -984,7 +984,7 @@ File '/package.json' does not exist according to earlier cached lookups.    ~~~~~~~~~~ ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/lib.scripthost.d.ts Library referenced via 'scripthost' from file 'project1/file2.ts' project1/file.ts @@ -1028,7 +1028,7 @@ project1/utils.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -1039,7 +1039,7 @@ project1/utils.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -1049,7 +1049,7 @@ project1/utils.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -1059,7 +1059,7 @@ project1/utils.d.ts }, "version": "-13885971376-/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1069,7 +1069,7 @@ project1/utils.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1078,7 +1078,7 @@ project1/utils.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1253,7 +1253,7 @@ File '/home/src/package.json' does not exist according to earlier cached lookups File '/home/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/lib.webworker.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' ../lib/lib.scripthost.d.ts @@ -1302,7 +1302,7 @@ project1/utils.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -1313,7 +1313,7 @@ project1/utils.d.ts "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -1324,7 +1324,7 @@ project1/utils.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -1334,7 +1334,7 @@ project1/utils.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -1344,7 +1344,7 @@ project1/utils.d.ts }, "version": "-17945718466-/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1354,7 +1354,7 @@ project1/utils.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1363,7 +1363,7 @@ project1/utils.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js index 941927a970169..8f97d6f0dc103 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js @@ -419,7 +419,7 @@ export declare const x = "type1"; "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -430,7 +430,7 @@ export declare const x = "type1"; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -441,7 +441,7 @@ export declare const x = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -452,7 +452,7 @@ export declare const x = "type1"; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -461,7 +461,7 @@ export declare const x = "type1"; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -471,7 +471,7 @@ export declare const x = "type1"; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -481,7 +481,7 @@ export declare const x = "type1"; }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -491,7 +491,7 @@ export declare const x = "type1"; }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -500,7 +500,7 @@ export declare const x = "type1"; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -509,7 +509,7 @@ export declare const x = "type1"; }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -857,7 +857,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { @@ -868,7 +868,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -879,7 +879,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -890,7 +890,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -899,7 +899,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -909,7 +909,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -919,7 +919,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -929,7 +929,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -938,7 +938,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -947,7 +947,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1246,7 +1246,7 @@ export declare const xyz = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { @@ -1257,7 +1257,7 @@ export declare const xyz = 10; "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -1268,7 +1268,7 @@ export declare const xyz = 10; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -1279,7 +1279,7 @@ export declare const xyz = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -1288,7 +1288,7 @@ export declare const xyz = 10; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -1298,7 +1298,7 @@ export declare const xyz = 10; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -1308,7 +1308,7 @@ export declare const xyz = 10; }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1318,7 +1318,7 @@ export declare const xyz = 10; }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1327,7 +1327,7 @@ export declare const xyz = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -1336,7 +1336,7 @@ export declare const xyz = 10; }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1550,7 +1550,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { @@ -1561,7 +1561,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -1572,7 +1572,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -1583,7 +1583,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -1593,7 +1593,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -1603,7 +1603,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1613,7 +1613,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1622,7 +1622,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -1631,7 +1631,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1970,7 +1970,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -1981,7 +1981,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -1992,7 +1992,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -2003,7 +2003,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -2013,7 +2013,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -2023,7 +2023,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -2033,7 +2033,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -2042,7 +2042,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -2051,7 +2051,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -2609,7 +2609,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { @@ -2620,7 +2620,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -2631,7 +2631,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -2642,7 +2642,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -2652,7 +2652,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -2662,7 +2662,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -2672,7 +2672,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -2681,7 +2681,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -2690,7 +2690,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -3014,7 +3014,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -3025,7 +3025,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -3036,7 +3036,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -3047,7 +3047,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -3057,7 +3057,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -3067,7 +3067,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -3077,7 +3077,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -3086,7 +3086,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -3095,7 +3095,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -3448,7 +3448,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { @@ -3459,7 +3459,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { @@ -3470,7 +3470,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { @@ -3481,7 +3481,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -3491,7 +3491,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -3501,7 +3501,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -3511,7 +3511,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -3520,7 +3520,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -3529,7 +3529,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/libraryResolution/with-config.js b/tests/baselines/reference/tscWatch/libraryResolution/with-config.js index fdaf64491238c..629d75df409c1 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/with-config.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/with-config.js @@ -412,7 +412,7 @@ export declare const x = "type1"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -423,7 +423,7 @@ export declare const x = "type1"; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -434,7 +434,7 @@ export declare const x = "type1"; "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -445,7 +445,7 @@ export declare const x = "type1"; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -454,7 +454,7 @@ export declare const x = "type1"; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -464,7 +464,7 @@ export declare const x = "type1"; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -474,7 +474,7 @@ export declare const x = "type1"; }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -484,7 +484,7 @@ export declare const x = "type1"; }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -493,7 +493,7 @@ export declare const x = "type1"; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -502,7 +502,7 @@ export declare const x = "type1"; }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -859,7 +859,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -870,7 +870,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -881,7 +881,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -892,7 +892,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -901,7 +901,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -911,7 +911,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -921,7 +921,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -931,7 +931,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11532698187-export const x = \"type1\";", "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -940,7 +940,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -949,7 +949,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1239,7 +1239,7 @@ export declare const xyz = 10; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -1250,7 +1250,7 @@ export declare const xyz = 10; "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -1261,7 +1261,7 @@ export declare const xyz = 10; "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -1272,7 +1272,7 @@ export declare const xyz = 10; "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./core.d.ts": { "original": { @@ -1281,7 +1281,7 @@ export declare const xyz = 10; }, "version": "-15683237936-export const core = 10;", "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -1291,7 +1291,7 @@ export declare const xyz = 10; }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -1301,7 +1301,7 @@ export declare const xyz = 10; }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1311,7 +1311,7 @@ export declare const xyz = 10; }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1320,7 +1320,7 @@ export declare const xyz = 10; }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -1329,7 +1329,7 @@ export declare const xyz = 10; }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1537,7 +1537,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -1548,7 +1548,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -1559,7 +1559,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -1570,7 +1570,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -1580,7 +1580,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -1590,7 +1590,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1600,7 +1600,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1609,7 +1609,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -1618,7 +1618,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1920,7 +1920,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.dom.d.ts": { "original": { @@ -1931,7 +1931,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -1942,7 +1942,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -1953,7 +1953,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -1963,7 +1963,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -1973,7 +1973,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1983,7 +1983,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -1992,7 +1992,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -2001,7 +2001,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -2524,7 +2524,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -2535,7 +2535,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -2546,7 +2546,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -2557,7 +2557,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -2567,7 +2567,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -2577,7 +2577,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -2587,7 +2587,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -2596,7 +2596,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -2605,7 +2605,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -2959,7 +2959,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -2970,7 +2970,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { @@ -2981,7 +2981,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -2992,7 +2992,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -3002,7 +3002,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -3012,7 +3012,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -3022,7 +3022,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -3031,7 +3031,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -3040,7 +3040,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -3358,7 +3358,7 @@ project1/typeroot1/sometype/index.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; };", "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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.webworker.d.ts": { "original": { @@ -3369,7 +3369,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/lib.scripthost.d.ts": { "original": { @@ -3380,7 +3380,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { @@ -3391,7 +3391,7 @@ project1/typeroot1/sometype/index.d.ts "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file.ts": { "original": { @@ -3401,7 +3401,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-16628394009-export const file = 10;", "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./file2.ts": { "original": { @@ -3411,7 +3411,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-11916614574-/// \n/// \n/// \n", "signature": "5381-", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -3421,7 +3421,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./utils.d.ts": { "original": { @@ -3430,7 +3430,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./typeroot1/sometype/index.d.ts": { "original": { @@ -3439,7 +3439,7 @@ project1/typeroot1/sometype/index.d.ts }, "version": "-12476477079-export type TheNum = \"type1\";", "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js b/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js index 8313aafe76682..df8e5a29b8f1d 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/alternateResult.js @@ -406,7 +406,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo2/index.d.ts": { "original": { @@ -415,7 +415,7 @@ export {}; }, "version": "-1622383150-export declare const foo2: number;", "signature": "-1622383150-export declare const foo2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar2/index.d.ts": { "original": { @@ -424,7 +424,7 @@ export {}; }, "version": "-7439170493-export declare const bar2: number;", "signature": "-7439170493-export declare const bar2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.mts": { "original": { @@ -433,7 +433,7 @@ export {}; }, "version": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", "signature": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -1304,7 +1304,7 @@ File '/package.json' does not exist according to earlier cached lookups. "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar/index.d.ts": { "original": { @@ -1313,7 +1313,7 @@ File '/package.json' does not exist according to earlier cached lookups. }, "version": "-9556021903-export declare const bar: number;", "signature": "-9556021903-export declare const bar: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo2/index.d.ts": { "original": { @@ -1322,7 +1322,7 @@ File '/package.json' does not exist according to earlier cached lookups. }, "version": "-1622383150-export declare const foo2: number;", "signature": "-1622383150-export declare const foo2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar2/index.d.ts": { "original": { @@ -1331,7 +1331,7 @@ File '/package.json' does not exist according to earlier cached lookups. }, "version": "-7439170493-export declare const bar2: number;", "signature": "-7439170493-export declare const bar2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.mts": { "original": { @@ -1341,7 +1341,7 @@ File '/package.json' does not exist according to earlier cached lookups. }, "version": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -1590,7 +1590,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo/index.d.ts": { "original": { @@ -1599,7 +1599,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu }, "version": "-5214938848-export declare const foo: number;", "signature": "-5214938848-export declare const foo: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar/index.d.ts": { "original": { @@ -1608,7 +1608,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu }, "version": "-9556021903-export declare const bar: number;", "signature": "-9556021903-export declare const bar: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo2/index.d.ts": { "original": { @@ -1617,7 +1617,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu }, "version": "-1622383150-export declare const foo2: number;", "signature": "-1622383150-export declare const foo2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar2/index.d.ts": { "original": { @@ -1626,7 +1626,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu }, "version": "-7439170493-export declare const bar2: number;", "signature": "-7439170493-export declare const bar2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.mts": { "original": { @@ -1636,7 +1636,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modu }, "version": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -1940,7 +1940,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo/index.d.ts": { "original": { @@ -1949,7 +1949,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu }, "version": "-5214938848-export declare const foo: number;", "signature": "-5214938848-export declare const foo: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar/index.d.ts": { "original": { @@ -1958,7 +1958,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu }, "version": "-9556021903-export declare const bar: number;", "signature": "-9556021903-export declare const bar: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo2/index.d.ts": { "original": { @@ -1967,7 +1967,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu }, "version": "-1622383150-export declare const foo2: number;", "signature": "-1622383150-export declare const foo2: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.mts": { "original": { @@ -1977,7 +1977,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modu }, "version": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -2249,7 +2249,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/foo/index.d.ts": { "original": { @@ -2258,7 +2258,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in }, "version": "-5214938848-export declare const foo: number;", "signature": "-5214938848-export declare const foo: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./node_modules/@types/bar/index.d.ts": { "original": { @@ -2267,7 +2267,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in }, "version": "-9556021903-export declare const bar: number;", "signature": "-9556021903-export declare const bar: number;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.mts": { "original": { @@ -2277,7 +2277,7 @@ FileWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/foo2/in }, "version": "-4806968175-import { foo } from \"foo\";\nimport { bar } from \"bar\";\nimport { foo2 } from \"foo2\";\nimport { bar2 } from \"bar2\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js b/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js index 41d935f00d2b7..42b6a47958ef8 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js @@ -117,7 +117,7 @@ File '/workspace/packageC/node_modules/package-a/index.d.ts' exists - use it as Resolving real path for '/workspace/packageC/node_modules/package-a/index.d.ts', result '/workspace/packageA/index.d.ts'. ======== Module name 'package-a' was successfully resolved to '/workspace/packageA/index.d.ts'. ======== ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../packageA/index.d.ts Imported via "package-a" from file '../packageB/index.d.ts' ../packageB/index.d.ts @@ -248,7 +248,7 @@ File '/workspace/packageC/node_modules/package-a/index.d.ts' exists - use it as Resolving real path for '/workspace/packageC/node_modules/package-a/index.d.ts', result '/workspace/packageA/index.d.ts'. ======== Module name 'package-a' was successfully resolved to '/workspace/packageA/index.d.ts'. ======== ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../packageA/index.d.ts Imported via "package-a" from file '../packageB/index.d.ts' ../packageB/index.d.ts diff --git a/tests/baselines/reference/tscWatch/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js b/tests/baselines/reference/tscWatch/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js index fc3fc754c835f..27906a653672e 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js @@ -83,7 +83,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is ECMAScript module because 'package.json' has field "type" with value "module" @@ -231,7 +231,7 @@ File '/package.json' does not exist according to earlier cached lookups.    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is CommonJS module because 'package.json' does not have field "type" @@ -376,7 +376,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/mypr    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is ECMAScript module because 'package.json' has field "type" with value "module" @@ -529,7 +529,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undef    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is CommonJS module because 'package.json' was not found @@ -665,7 +665,7 @@ FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undef    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is CommonJS module because 'package.json' does not have field "type" @@ -797,7 +797,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undef    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is CommonJS module because 'package.json' was not found diff --git a/tests/baselines/reference/tscWatch/moduleResolution/package-json-file-is-edited.js b/tests/baselines/reference/tscWatch/moduleResolution/package-json-file-is-edited.js index 32ad7e78d9a5e..af0560e2ed675 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/package-json-file-is-edited.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/package-json-file-is-edited.js @@ -89,7 +89,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is CommonJS module because 'package.json' does not have field "type" @@ -237,7 +237,7 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/mypr    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is ECMAScript module because 'package.json' has field "type" with value "module" @@ -386,7 +386,7 @@ File '/package.json' does not exist according to earlier cached lookups.    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is CommonJS module because 'package.json' does not have field "type" @@ -523,7 +523,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undef    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is CommonJS module because 'package.json' was not found @@ -662,7 +662,7 @@ FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undef    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is ECMAScript module because 'package.json' has field "type" with value "module" @@ -817,7 +817,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undef    ~~~~~~~~~~~~~ ../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/fileA.ts Matched by default include pattern '**/*' File is CommonJS module because 'package.json' was not found diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration-with-incremental.js index 8e8efdd68bff2..3e397e70cdc44 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration-with-incremental.js @@ -212,7 +212,7 @@ declare module "src/other" { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -220,7 +220,7 @@ declare module "src/other" { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -228,7 +228,7 @@ declare module "src/other" { "impliedFormat": 1 }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -236,7 +236,7 @@ declare module "src/other" { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -428,7 +428,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -436,7 +436,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -444,7 +444,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -452,7 +452,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-incremental.js index 7a3a3c35e07a0..9c9df738fda41 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-incremental.js @@ -198,7 +198,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -206,7 +206,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -214,7 +214,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -222,7 +222,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -410,7 +410,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/shared/types/db.ts": { "original": { @@ -418,7 +418,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/main.ts": { "original": { @@ -426,7 +426,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./noemitonerror/src/other.ts": { "original": { @@ -434,7 +434,7 @@ define("src/other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration-with-incremental.js index 0d551bef2e464..a99c0d6c511bf 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration-with-incremental.js @@ -85,7 +85,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -94,7 +94,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -103,7 +103,7 @@ Output:: }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -112,7 +112,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -294,7 +294,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -303,7 +303,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -313,7 +313,7 @@ Output:: }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -323,7 +323,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -473,7 +473,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -482,7 +482,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -492,7 +492,7 @@ Output:: }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -502,7 +502,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -651,7 +651,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -660,7 +660,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -670,7 +670,7 @@ Output:: }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -680,7 +680,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-incremental.js index 2484f14225a3c..79cd7e0c9ed28 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-incremental.js @@ -84,7 +84,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -93,7 +93,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -102,7 +102,7 @@ Output:: }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -111,7 +111,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -291,7 +291,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -300,7 +300,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -310,7 +310,7 @@ Output:: }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -319,7 +319,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -453,7 +453,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -462,7 +462,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -472,7 +472,7 @@ Output:: }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -481,7 +481,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -628,7 +628,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../shared/types/db.ts": { "original": { @@ -637,7 +637,7 @@ Output:: }, "version": "-5014788164-export interface A {\n name: string;\n}\n", "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/main.ts": { "original": { @@ -647,7 +647,7 @@ Output:: }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/other.ts": { "original": { @@ -656,7 +656,7 @@ Output:: }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js b/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js index 838823c1e8677..e63d6179033a4 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js +++ b/tests/baselines/reference/tscWatch/programUpdates/changes-in-files-are-reflected-in-project-structure.js @@ -29,7 +29,7 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/b/f2.ts Imported via "./f2" from file 'a/b/f1.ts' a/b/f1.ts @@ -119,7 +119,7 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/c/f3.ts Imported via "../c/f3" from file 'a/b/f2.ts' a/b/f2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js b/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js index 00736c34d38e3..5acae92e0d31f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js +++ b/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js @@ -99,7 +99,7 @@ export declare const y = 1; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f1.ts": { "original": { @@ -109,7 +109,7 @@ export declare const y = 1; }, "version": "-10906998252-export const x = 1", "signature": "-7495133367-export declare const x = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f2.ts": { "original": { @@ -119,7 +119,7 @@ export declare const y = 1; }, "version": "-10905812331-export const y = 1", "signature": "-6203665398-export declare const y = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -256,7 +256,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f1.ts": { "original": { @@ -266,7 +266,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec }, "version": "-10906998252-export const x = 1", "signature": "-7495133367-export declare const x = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f2.ts": { "original": { @@ -276,7 +276,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec }, "version": "-10905812331-export const y = 1", "signature": "-6203665398-export declare const y = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./new-file.ts": { "original": { @@ -286,7 +286,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec }, "version": "-11960320495-export const z = 1;", "signature": "-9207164725-export declare const z = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -436,7 +436,7 @@ CreatingProgramWith:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./new-file.ts": { "original": { @@ -446,7 +446,7 @@ CreatingProgramWith:: }, "version": "-11960320495-export const z = 1;", "signature": "-9207164725-export declare const z = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f1.ts": { "original": { @@ -456,7 +456,7 @@ CreatingProgramWith:: }, "version": "1363236232-import { z } from \"./new-file\";export const x = 1", "signature": "-7495133367-export declare const x = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./f2.ts": { "original": { @@ -466,7 +466,7 @@ CreatingProgramWith:: }, "version": "-10905812331-export const y = 1", "signature": "-6203665398-export declare const y = 1;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js index c5e6606c8a1d4..6d811ca8d3e91 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js @@ -29,7 +29,7 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/b/commonFile1.ts Matched by default include pattern '**/*' a/b/commonFile2.ts @@ -109,7 +109,7 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/b/commonFile1.ts Matched by default include pattern '**/*' a/b/commonFile2.ts @@ -171,7 +171,7 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/b/commonFile1.ts Matched by default include pattern '**/*' [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -239,7 +239,7 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/b/commonFile1.ts Matched by default include pattern '**/*' a/b/commonFile2.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js index 8f624d61f0e60..1f2817ba7f45d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js @@ -22,7 +22,7 @@ interface Array { length: number; [n: number]: T; } //// [/user/username/projects/myproject/tsconfig.json] { "compilerOptions": { - "module": "amd", + "module": "AMD", "declaration": true, "declarationDir": "decls" } diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js index fb77d9e6f1da4..8161512a8af30 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js @@ -22,7 +22,7 @@ interface Array { length: number; [n: number]: T; } //// [/user/username/projects/myproject/tsconfig.json] { "compilerOptions": { - "module": "amd", + "module": "AMD", "outDir": "build", "declaration": true, "declarationDir": "decls" diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js index 66fa3f8f2700d..a1d50dd4f6083 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js @@ -22,7 +22,7 @@ interface Array { length: number; [n: number]: T; } //// [/user/username/projects/myproject/tsconfig.json] { "compilerOptions": { - "module": "amd", + "module": "AMD", "outDir": "build" } } diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js index 53a171222e210..3cc1af95af612 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js @@ -22,7 +22,7 @@ interface Array { length: number; [n: number]: T; } //// [/user/username/projects/myproject/tsconfig.json] { "compilerOptions": { - "module": "amd", + "module": "AMD", "outFile": "build/outFile.js" } } diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js index 783b54f07476c..e8fd743a6fe2c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js @@ -22,7 +22,7 @@ interface Array { length: number; [n: number]: T; } //// [/user/username/projects/myproject/tsconfig.json] { "compilerOptions": { - "module": "amd", + "module": "AMD", "declaration": true } } diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js index 88b13f4ca03a6..2a514c9be66f0 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js @@ -22,7 +22,7 @@ interface Array { length: number; [n: number]: T; } //// [/user/username/projects/myproject/tsconfig.json] { "compilerOptions": { - "module": "amd" + "module": "AMD" } } diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js index d9259f3a57f47..9e63fdd7630ae 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js @@ -32,7 +32,7 @@ Output:: [HH:MM:SS AM] Starting compilation in watch mode... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/b/commonFile1.ts Part of 'files' list in tsconfig.json a/b/commonFile2.ts @@ -108,7 +108,7 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/b/commonFile1.ts Part of 'files' list in tsconfig.json a/b/commonFile2.ts @@ -175,7 +175,7 @@ Output:: [HH:MM:SS AM] File change detected. Starting incremental compilation... a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/b/commonFile1.ts Part of 'files' list in tsconfig.json [HH:MM:SS AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js index 9dcb12b52fad8..5ead02e1b6fa7 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js @@ -113,7 +113,7 @@ declare class class2 { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -124,7 +124,7 @@ declare class class2 { "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -136,7 +136,7 @@ declare class class2 { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -409,7 +409,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -420,7 +420,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class3.d.ts": { "original": { @@ -431,7 +431,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -443,7 +443,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -615,7 +615,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -626,7 +626,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -638,7 +638,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -823,7 +823,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -834,7 +834,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class3.d.ts": { "original": { @@ -845,7 +845,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -857,7 +857,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project-with-nodenext.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project-with-nodenext.js index 11e2eccf34283..0d77f640235c1 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project-with-nodenext.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project-with-nodenext.js @@ -154,7 +154,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -164,7 +164,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -174,7 +174,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -185,7 +185,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -288,7 +288,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -297,7 +297,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -306,7 +306,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -316,7 +316,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -418,7 +418,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -427,7 +427,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -436,7 +436,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -445,7 +445,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -455,7 +455,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -543,7 +543,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -737,7 +737,7 @@ function foo() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -746,7 +746,7 @@ function foo() { } }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -755,7 +755,7 @@ function foo() { } }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -765,7 +765,7 @@ function foo() { } }, "version": "-6497638357-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -887,7 +887,7 @@ export declare function gfoo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -896,7 +896,7 @@ export declare function gfoo(): void; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -905,7 +905,7 @@ export declare function gfoo(): void; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -915,7 +915,7 @@ export declare function gfoo(): void; }, "version": "-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -985,7 +985,7 @@ File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -1040,7 +1040,7 @@ tests/index.ts "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1049,7 +1049,7 @@ tests/index.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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1058,7 +1058,7 @@ tests/index.ts }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -1067,7 +1067,7 @@ tests/index.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", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1077,7 +1077,7 @@ tests/index.ts }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1251,7 +1251,7 @@ function gfoo() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1260,7 +1260,7 @@ function gfoo() { } }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1269,7 +1269,7 @@ function gfoo() { } }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1279,7 +1279,7 @@ function gfoo() { } }, "version": "-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1362,7 +1362,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -1417,7 +1417,7 @@ tests/index.ts "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1426,7 +1426,7 @@ tests/index.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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1435,7 +1435,7 @@ tests/index.ts }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/decls/index.d.ts": { "original": { @@ -1444,7 +1444,7 @@ tests/index.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", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1454,7 +1454,7 @@ tests/index.ts }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index ba469a56c52af..4e5cf7fc93d79 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -148,7 +148,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -158,7 +158,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -168,7 +168,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -179,7 +179,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -257,7 +257,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -266,7 +266,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -275,7 +275,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -285,7 +285,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -362,7 +362,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -371,7 +371,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -380,7 +380,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -389,7 +389,7 @@ export declare const m: typeof mod; }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -399,7 +399,7 @@ export declare const m: typeof mod; }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -482,7 +482,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -647,7 +647,7 @@ function foo() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -656,7 +656,7 @@ function foo() { } }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -665,7 +665,7 @@ function foo() { } }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -675,7 +675,7 @@ function foo() { } }, "version": "-6497638357-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -772,7 +772,7 @@ export declare function gfoo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -781,7 +781,7 @@ export declare function gfoo(): void; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -790,7 +790,7 @@ export declare function gfoo(): void; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -800,7 +800,7 @@ export declare function gfoo(): void; }, "version": "-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -868,7 +868,7 @@ File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -919,7 +919,7 @@ tests/index.ts "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -928,7 +928,7 @@ tests/index.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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -937,7 +937,7 @@ tests/index.ts }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/index.d.ts": { "original": { @@ -946,7 +946,7 @@ tests/index.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", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -956,7 +956,7 @@ tests/index.ts }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1101,7 +1101,7 @@ function gfoo() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1110,7 +1110,7 @@ function gfoo() { } }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1119,7 +1119,7 @@ function gfoo() { } }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1129,7 +1129,7 @@ function gfoo() { } }, "version": "-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -1210,7 +1210,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'tests/index.ts' File is output of project reference source 'core/index.ts' @@ -1261,7 +1261,7 @@ tests/index.ts "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -1270,7 +1270,7 @@ tests/index.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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -1279,7 +1279,7 @@ tests/index.ts }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../logic/decls/index.d.ts": { "original": { @@ -1288,7 +1288,7 @@ tests/index.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", "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -1298,7 +1298,7 @@ tests/index.ts }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 8423bf18dcbd9..40e255aac2bbb 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -110,7 +110,7 @@ export declare class A { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -120,7 +120,7 @@ export declare class A { }, "version": "-7264743946-export class A {}", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -177,7 +177,7 @@ export declare const b: A; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../a/index.d.ts": { "original": { @@ -186,7 +186,7 @@ export declare const b: A; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -196,7 +196,7 @@ export declare const b: A; }, "version": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();", "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -286,7 +286,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -463,7 +463,7 @@ export declare function gfoo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../a/index.d.ts": { "original": { @@ -472,7 +472,7 @@ export declare function gfoo(): void; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -482,7 +482,7 @@ export declare function gfoo(): void; }, "version": "1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }", "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -546,7 +546,7 @@ File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -711,7 +711,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -931,7 +931,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1134,7 +1134,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' nrefs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -1329,7 +1329,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' refs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1513,7 +1513,7 @@ File '/package.json' does not exist according to earlier cached lookups.   ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' refs/a.d.ts Imported via '@ref/a' from file 'b/index.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1704,7 +1704,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1895,7 +1895,7 @@ File '/package.json' does not exist according to earlier cached lookups.   ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -2082,7 +2082,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 5196a0571d2f8..2298d6444a899 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -119,7 +119,7 @@ export declare class A { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -129,7 +129,7 @@ export declare class A { }, "version": "-7264743946-export class A {}", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export declare const b: A; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../a/index.d.ts": { "original": { @@ -195,7 +195,7 @@ export declare const b: A; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -205,7 +205,7 @@ export declare const b: A; }, "version": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();", "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -295,7 +295,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -470,7 +470,7 @@ export declare function gfoo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../a/index.d.ts": { "original": { @@ -479,7 +479,7 @@ export declare function gfoo(): void; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -489,7 +489,7 @@ export declare function gfoo(): void; }, "version": "1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }", "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -553,7 +553,7 @@ File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -721,7 +721,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -942,7 +942,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1146,7 +1146,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' nrefs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -1344,7 +1344,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' refs/a.d.ts Imported via '@ref/a' from file 'b/index.d.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1524,7 +1524,7 @@ File '/package.json' does not exist according to earlier cached lookups.   ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' refs/a.d.ts Imported via '@ref/a' from file 'b/index.ts' Imported via "@ref/a" from file 'c/index.ts' @@ -1712,7 +1712,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' @@ -1901,7 +1901,7 @@ File '/package.json' does not exist according to earlier cached lookups.   ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.ts Imported via '@ref/a' from file 'b/index.d.ts' b/index.d.ts @@ -2089,7 +2089,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/index.d.ts Imported via '@ref/a' from file 'b/index.d.ts' File is output of project reference source 'a/index.ts' diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-with-nodenext.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-with-nodenext.js index 389a71eaa89d1..0164112d98dfb 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-with-nodenext.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-with-nodenext.js @@ -130,7 +130,7 @@ export declare class A { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -140,7 +140,7 @@ export declare class A { }, "version": "-7808316224-export class A {}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -199,7 +199,7 @@ export declare const b: A; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.d.ts": { "original": { @@ -208,7 +208,7 @@ export declare const b: A; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -218,7 +218,7 @@ export declare const b: A; }, "version": "-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n", "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -305,7 +305,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -473,7 +473,7 @@ export declare function gfoo(): void; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.d.ts": { "original": { @@ -482,7 +482,7 @@ export declare function gfoo(): void; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -492,7 +492,7 @@ export declare function gfoo(): void; }, "version": "-3352421102-import {A} from '@ref/a';\nexport const b = new A();\nexport function gfoo() { }", "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -555,7 +555,7 @@ File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -724,7 +724,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -934,7 +934,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -1130,7 +1130,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' nrefs/a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is CommonJS module because 'package.json' was not found @@ -1316,7 +1316,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' refs/a.d.ts Imported via '@ref/a' from file 'b.d.ts' Imported via "@ref/a" from file 'c.ts' @@ -1488,7 +1488,7 @@ File '/package.json' does not exist according to earlier cached lookups.   ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' refs/a.d.ts Imported via '@ref/a' from file 'b.ts' Imported via "@ref/a" from file 'c.ts' @@ -1665,7 +1665,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -1838,7 +1838,7 @@ File '/package.json' does not exist according to earlier cached lookups.   ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Imported via '@ref/a' from file 'b.d.ts' File is CommonJS module because 'package.json' was not found @@ -2012,7 +2012,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index d0fd3f18b29e3..9578ba7570b76 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -124,7 +124,7 @@ export declare class A { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -134,7 +134,7 @@ export declare class A { }, "version": "-7808316224-export class A {}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -191,7 +191,7 @@ export declare const b: A; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.d.ts": { "original": { @@ -200,7 +200,7 @@ export declare const b: A; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -210,7 +210,7 @@ export declare const b: A; }, "version": "-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n", "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -293,7 +293,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -455,7 +455,7 @@ export declare function gfoo(): void; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.d.ts": { "original": { @@ -464,7 +464,7 @@ export declare function gfoo(): void; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -474,7 +474,7 @@ export declare function gfoo(): void; }, "version": "-3352421102-import {A} from '@ref/a';\nexport const b = new A();\nexport function gfoo() { }", "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -535,7 +535,7 @@ File '/user/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -694,7 +694,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -894,7 +894,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -1082,7 +1082,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' nrefs/a.d.ts Imported via '@ref/a' from file 'b.d.ts' b.d.ts @@ -1260,7 +1260,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' refs/a.d.ts Imported via '@ref/a' from file 'b.d.ts' Imported via "@ref/a" from file 'c.ts' @@ -1426,7 +1426,7 @@ File '/package.json' does not exist according to earlier cached lookups.   ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' refs/a.d.ts Imported via '@ref/a' from file 'b.ts' Imported via "@ref/a" from file 'c.ts' @@ -1596,7 +1596,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' @@ -1763,7 +1763,7 @@ File '/package.json' does not exist according to earlier cached lookups.   ~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Imported via '@ref/a' from file 'b.d.ts' b.d.ts @@ -1929,7 +1929,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via '@ref/a' from file 'b.d.ts' File is output of project reference source 'a.ts' 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 8d005f6f80ad5..bf7733da78119 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 @@ -148,7 +148,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -158,7 +158,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -168,7 +168,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -179,7 +179,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -245,7 +245,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' @@ -308,7 +308,7 @@ export declare const m: typeof mod; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/index.d.ts": { "original": { @@ -317,7 +317,7 @@ export declare const m: typeof mod; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/anothermodule.d.ts": { "original": { @@ -326,7 +326,7 @@ export declare const m: typeof mod; }, "version": "-9234818176-export declare const World = \"hello\";\n", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -336,7 +336,7 @@ export declare const m: typeof mod; }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -496,7 +496,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./anothermodule.ts": { "original": { @@ -506,7 +506,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-3090574810-export const World = \"hello\";", "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./index.ts": { "original": { @@ -516,7 +516,7 @@ export declare function multiply(a: number, b: number): number; }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./some_decl.d.ts": { "original": { @@ -527,7 +527,7 @@ export declare function multiply(a: number, b: number): number; "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -591,7 +591,7 @@ File '/a/lib/package.json' does not exist according to earlier cached lookups. File '/a/package.json' does not exist according to earlier cached lookups. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' core/index.d.ts Imported via '../core/index' from file 'logic/index.ts' File is output of project reference source 'core/index.ts' diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 4b4eeefa2e073..019c45e28b681 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -117,7 +117,7 @@ export declare class A { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -127,7 +127,7 @@ export declare class A { }, "version": "-7808316224-export class A {}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -184,7 +184,7 @@ export declare const b: A; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.d.ts": { "original": { @@ -193,7 +193,7 @@ export declare const b: A; }, "version": "-8728835846-export declare class A {\n}\n", "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -203,7 +203,7 @@ export declare const b: A; }, "version": "-19869990292-import {A} from \"a\";export const b = new A();", "signature": "1870369234-import { A } from \"a\";\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -286,7 +286,7 @@ File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.d.ts Imported via "a" from file 'b.d.ts' File is output of project reference source 'a.ts' diff --git a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js index 3bdd36095a819..87a0b6e5e966e 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js @@ -175,7 +175,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/nod    ~~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/pkg0/index.d.ts Imported via "pkg0" from file 'fileWithImports.ts' fileWithImports.ts @@ -241,7 +241,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/pkg0/index.d.ts": { "original": { @@ -250,7 +250,7 @@ export {}; }, "version": "-8124756421-export interface Import0 {}", "signature": "-8124756421-export interface Import0 {}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../filewithimports.ts": { "original": { @@ -260,7 +260,7 @@ export {}; }, "version": "-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/pkg2/index.d.ts": { "original": { @@ -271,7 +271,7 @@ export {}; "version": "-11273315461-interface Import2 {}", "signature": "-11273315461-interface Import2 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../filewithtyperefs.ts": { "original": { @@ -281,7 +281,7 @@ export {}; }, "version": "-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -560,7 +560,7 @@ FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/p    ~~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/pkg0/index.d.ts Imported via "pkg0" from file 'fileWithImports.ts' node_modules/pkg1/index.d.ts @@ -609,7 +609,7 @@ fileWithTypeRefs.ts "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/pkg0/index.d.ts": { "original": { @@ -618,7 +618,7 @@ fileWithTypeRefs.ts }, "version": "-8124756421-export interface Import0 {}", "signature": "-8124756421-export interface Import0 {}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/pkg1/index.d.ts": { "original": { @@ -627,7 +627,7 @@ fileWithTypeRefs.ts }, "version": "-8124720484-export interface Import1 {}", "signature": "-8124720484-export interface Import1 {}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../filewithimports.ts": { "original": { @@ -637,7 +637,7 @@ fileWithTypeRefs.ts }, "version": "-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/pkg2/index.d.ts": { "original": { @@ -648,7 +648,7 @@ fileWithTypeRefs.ts "version": "-11273315461-interface Import2 {}", "signature": "-11273315461-interface Import2 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../filewithtyperefs.ts": { "original": { @@ -658,7 +658,7 @@ fileWithTypeRefs.ts }, "version": "-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -936,7 +936,7 @@ FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/p    ~~~~~~~ ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/pkg0/index.d.ts Imported via "pkg0" from file 'fileWithImports.ts' node_modules/pkg1/index.d.ts @@ -989,7 +989,7 @@ fileWithTypeRefs.ts "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/pkg0/index.d.ts": { "original": { @@ -998,7 +998,7 @@ fileWithTypeRefs.ts }, "version": "-8124756421-export interface Import0 {}", "signature": "-8124756421-export interface Import0 {}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/pkg1/index.d.ts": { "original": { @@ -1007,7 +1007,7 @@ fileWithTypeRefs.ts }, "version": "-8124720484-export interface Import1 {}", "signature": "-8124720484-export interface Import1 {}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../filewithimports.ts": { "original": { @@ -1017,7 +1017,7 @@ fileWithTypeRefs.ts }, "version": "-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/pkg2/index.d.ts": { "original": { @@ -1028,7 +1028,7 @@ fileWithTypeRefs.ts "version": "-11273315461-interface Import2 {}", "signature": "-11273315461-interface Import2 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../node_modules/pkg3/index.d.ts": { "original": { @@ -1037,7 +1037,7 @@ fileWithTypeRefs.ts }, "version": "-8124648610-export interface Import3 {}", "signature": "-8124648610-export interface Import3 {}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../filewithtyperefs.ts": { "original": { @@ -1047,7 +1047,7 @@ fileWithTypeRefs.ts }, "version": "-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js b/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js index 09431de6cdf3d..080282fb2d40d 100644 --- a/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js +++ b/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js @@ -72,7 +72,7 @@ var x = data_json_1.default; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./data.d.json.ts": { "original": { @@ -81,7 +81,7 @@ var x = data_json_1.default; }, "version": "2718060498-declare var val: string; export default val;", "signature": "2718060498-declare var val: string; export default val;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -90,7 +90,7 @@ var x = data_json_1.default; }, "version": "6961905452-import data from \"./data.json\"; let x: string = data;", "signature": "6961905452-import data from \"./data.json\"; let x: string = data;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index 815b9acd28b4e..9f48d92ee3d77 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -105,7 +105,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar.ts": { "original": { @@ -115,7 +115,7 @@ export declare function foo(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -125,7 +125,7 @@ export declare function foo(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -190,7 +190,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/index.d.ts": { "original": { @@ -199,7 +199,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/bar.d.ts": { "original": { @@ -208,7 +208,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -218,7 +218,7 @@ export {}; }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/index.ts": { "original": { @@ -292,7 +292,7 @@ Output:: }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar.ts": { "original": { @@ -301,7 +301,7 @@ Output:: }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -311,7 +311,7 @@ Output:: }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index b6b547e7f61b6..a501174190d07 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -107,7 +107,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar.ts": { "original": { @@ -117,7 +117,7 @@ export declare function foo(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -127,7 +127,7 @@ export declare function foo(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -192,7 +192,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/b/lib/index.d.ts": { "original": { @@ -201,7 +201,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/b/lib/bar.d.ts": { "original": { @@ -210,7 +210,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -220,7 +220,7 @@ export {}; }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/index.ts": { "original": { @@ -294,7 +294,7 @@ Output:: }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar.ts": { "original": { @@ -303,7 +303,7 @@ Output:: }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -313,7 +313,7 @@ Output:: }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js index d526c684084a2..3bc0679d43058 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js @@ -115,7 +115,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/index.ts": { "original": { @@ -124,7 +124,7 @@ export {}; }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar.ts": { "original": { @@ -133,7 +133,7 @@ export {}; }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -143,7 +143,7 @@ export {}; }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index 64a7b94ca3b93..ae2e373fce2b2 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -105,7 +105,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar.ts": { "original": { @@ -115,7 +115,7 @@ export declare function foo(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -125,7 +125,7 @@ export declare function foo(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -190,7 +190,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/index.d.ts": { "original": { @@ -199,7 +199,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/bar.d.ts": { "original": { @@ -208,7 +208,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -218,7 +218,7 @@ export {}; }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/index.ts": { "original": { @@ -292,7 +292,7 @@ Output:: }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar.ts": { "original": { @@ -301,7 +301,7 @@ Output:: }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -311,7 +311,7 @@ Output:: }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 83fe5a9b7ac18..733f2cd131176 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -107,7 +107,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar.ts": { "original": { @@ -117,7 +117,7 @@ export declare function foo(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -127,7 +127,7 @@ export declare function foo(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -192,7 +192,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/@issue/b/lib/index.d.ts": { "original": { @@ -201,7 +201,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/@issue/b/lib/bar.d.ts": { "original": { @@ -210,7 +210,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -220,7 +220,7 @@ export {}; }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/index.ts": { "original": { @@ -294,7 +294,7 @@ Output:: }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar.ts": { "original": { @@ -303,7 +303,7 @@ Output:: }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -313,7 +313,7 @@ Output:: }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js index 9cd45a7f5da04..892a57a2b0b6c 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js @@ -115,7 +115,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/index.ts": { "original": { @@ -124,7 +124,7 @@ export {}; }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar.ts": { "original": { @@ -133,7 +133,7 @@ export {}; }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -143,7 +143,7 @@ export {}; }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js index ba12383344521..7a3aaf954b8ec 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js @@ -113,7 +113,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/index.ts": { "original": { @@ -122,7 +122,7 @@ export {}; }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar.ts": { "original": { @@ -131,7 +131,7 @@ export {}; }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -141,7 +141,7 @@ export {}; }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js index 19e3c7b11f927..8c090c8e0bd37 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js @@ -113,7 +113,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/index.ts": { "original": { @@ -122,7 +122,7 @@ export {}; }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar.ts": { "original": { @@ -131,7 +131,7 @@ export {}; }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -141,7 +141,7 @@ export {}; }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index 8c904fe8b744e..1a046c6ad367a 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -102,7 +102,7 @@ export declare function bar(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/foo.ts": { "original": { @@ -112,7 +112,7 @@ export declare function bar(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar/foo.ts": { "original": { @@ -122,7 +122,7 @@ export declare function bar(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/foo.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/bar/foo.d.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -215,7 +215,7 @@ export {}; }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -280,7 +280,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/foo.ts": { "original": { @@ -289,7 +289,7 @@ Output:: }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar/foo.ts": { "original": { @@ -298,7 +298,7 @@ Output:: }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -308,7 +308,7 @@ Output:: }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index d12f6ec2d6a04..7d0dddb9d320b 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -104,7 +104,7 @@ export declare function bar(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/foo.ts": { "original": { @@ -114,7 +114,7 @@ export declare function bar(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar/foo.ts": { "original": { @@ -124,7 +124,7 @@ export declare function bar(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -189,7 +189,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/b/lib/foo.d.ts": { "original": { @@ -198,7 +198,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/b/lib/bar/foo.d.ts": { "original": { @@ -207,7 +207,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -217,7 +217,7 @@ export {}; }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -282,7 +282,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/foo.ts": { "original": { @@ -291,7 +291,7 @@ Output:: }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar/foo.ts": { "original": { @@ -300,7 +300,7 @@ Output:: }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -310,7 +310,7 @@ Output:: }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js index b1e06d90bfb2f..48c6ad0a3ec57 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js @@ -112,7 +112,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/foo.ts": { "original": { @@ -121,7 +121,7 @@ export {}; }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar/foo.ts": { "original": { @@ -130,7 +130,7 @@ export {}; }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -140,7 +140,7 @@ export {}; }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index cfb2e055b4b5d..a4dd9cf1b4ff2 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -102,7 +102,7 @@ export declare function bar(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/foo.ts": { "original": { @@ -112,7 +112,7 @@ export declare function bar(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar/foo.ts": { "original": { @@ -122,7 +122,7 @@ export declare function bar(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/foo.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/bar/foo.d.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -215,7 +215,7 @@ export {}; }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -280,7 +280,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/foo.ts": { "original": { @@ -289,7 +289,7 @@ Output:: }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar/foo.ts": { "original": { @@ -298,7 +298,7 @@ Output:: }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -308,7 +308,7 @@ Output:: }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index f5d442e11861c..6e9e124573dd0 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -104,7 +104,7 @@ export declare function bar(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/foo.ts": { "original": { @@ -114,7 +114,7 @@ export declare function bar(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar/foo.ts": { "original": { @@ -124,7 +124,7 @@ export declare function bar(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -189,7 +189,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/@issue/b/lib/foo.d.ts": { "original": { @@ -198,7 +198,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/@issue/b/lib/bar/foo.d.ts": { "original": { @@ -207,7 +207,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -217,7 +217,7 @@ export {}; }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -282,7 +282,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/foo.ts": { "original": { @@ -291,7 +291,7 @@ Output:: }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar/foo.ts": { "original": { @@ -300,7 +300,7 @@ Output:: }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -310,7 +310,7 @@ Output:: }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js index 0e027eeaaa40f..9f2aa35384d31 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js @@ -112,7 +112,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/foo.ts": { "original": { @@ -121,7 +121,7 @@ export {}; }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar/foo.ts": { "original": { @@ -130,7 +130,7 @@ export {}; }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -140,7 +140,7 @@ export {}; }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js index c6ab0b3d9c199..f9ebadad9fe4a 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js @@ -110,7 +110,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/foo.ts": { "original": { @@ -119,7 +119,7 @@ export {}; }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar/foo.ts": { "original": { @@ -128,7 +128,7 @@ export {}; }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -138,7 +138,7 @@ export {}; }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js index bc17a0ff05b52..b6c0687d63547 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js @@ -110,7 +110,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/foo.ts": { "original": { @@ -119,7 +119,7 @@ export {}; }, "version": "4646078106-export function foo() { }", "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/src/bar/foo.ts": { "original": { @@ -128,7 +128,7 @@ export {}; }, "version": "1045484683-export function bar() { }", "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -138,7 +138,7 @@ export {}; }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index 0ec9a4b891ace..2c592278494d8 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -179,7 +179,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../core/utilities.ts": { "original": { @@ -189,7 +189,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; }, "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -302,7 +302,7 @@ export declare function createDog(): Dog; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/animal.ts": { "original": { @@ -311,7 +311,7 @@ export declare function createDog(): Dog; }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/index.ts": { "original": { @@ -321,7 +321,7 @@ export declare function createDog(): Dog; }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../core/utilities.d.ts": { "original": { @@ -330,7 +330,7 @@ export declare function createDog(): Dog; }, "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/dog.ts": { "original": { @@ -340,7 +340,7 @@ export declare function createDog(): Dog; }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -430,7 +430,7 @@ Output:: "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/animal.ts": { "original": { @@ -439,7 +439,7 @@ Output:: }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/index.ts": { "original": { @@ -449,7 +449,7 @@ Output:: }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../core/utilities.ts": { "original": { @@ -459,7 +459,7 @@ Output:: }, "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/dog.ts": { "original": { @@ -469,7 +469,7 @@ Output:: }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js index 9e280198c6182..53dd6d9219133 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js @@ -234,7 +234,7 @@ export declare function createDog(): Dog; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/animal.ts": { "original": { @@ -243,7 +243,7 @@ export declare function createDog(): Dog; }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/index.ts": { "original": { @@ -253,7 +253,7 @@ export declare function createDog(): Dog; }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../core/utilities.ts": { "original": { @@ -262,7 +262,7 @@ export declare function createDog(): Dog; }, "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", "signature": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../animals/dog.ts": { "original": { @@ -272,7 +272,7 @@ export declare function createDog(): Dog; }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder-outFile.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder-outFile.js index f0e08d83022b3..babd462e05372 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder-outFile.js @@ -5,7 +5,7 @@ Input:: "compilerOptions": { "composite": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -137,7 +137,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/main.ts": { "original": { @@ -145,7 +145,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/other.ts": { "original": { @@ -153,7 +153,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -381,7 +381,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/main.ts": { "original": { @@ -389,7 +389,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-14918944530-export const x = 10;\n// SomeComment", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/other.ts": { "original": { @@ -397,7 +397,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -570,7 +570,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/main.ts": { "original": { @@ -578,7 +578,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/other.ts": { "original": { @@ -586,7 +586,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 d7ffaf162ee5c..95678b9c682b0 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 @@ -57,7 +57,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -66,7 +66,7 @@ Output:: }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -75,7 +75,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -192,7 +192,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -202,7 +202,7 @@ Output:: }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -212,7 +212,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -387,7 +387,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -397,7 +397,7 @@ Output:: }, "version": "-14918944530-export const x = 10;\n// SomeComment", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -407,7 +407,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -513,7 +513,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -523,7 +523,7 @@ Output:: }, "version": "-14918944530-export const x = 10;\n// SomeComment", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -533,7 +533,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -695,7 +695,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -705,7 +705,7 @@ Output:: }, "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -715,7 +715,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder-outFile.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder-outFile.js index c61c70fc54aae..be6b3ecb0bd97 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder-outFile.js @@ -5,7 +5,7 @@ Input:: "compilerOptions": { "composite": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -144,7 +144,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/main.ts": { "original": { @@ -152,7 +152,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/other.ts": { "original": { @@ -160,7 +160,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -402,7 +402,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/main.ts": { "original": { @@ -410,7 +410,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-14918944530-export const x = 10;\n// SomeComment", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/other.ts": { "original": { @@ -418,7 +418,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -598,7 +598,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/main.ts": { "original": { @@ -606,7 +606,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/other.ts": { "original": { @@ -614,7 +614,7 @@ define("other", ["require", "exports"], function (require, exports) { "impliedFormat": 1 }, "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 cdfcc4979482d..c8b49852dc98a 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 @@ -57,7 +57,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -66,7 +66,7 @@ Output:: }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -75,7 +75,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -199,7 +199,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -209,7 +209,7 @@ Output:: }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -219,7 +219,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -401,7 +401,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -411,7 +411,7 @@ Output:: }, "version": "-14918944530-export const x = 10;\n// SomeComment", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -421,7 +421,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -534,7 +534,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -544,7 +544,7 @@ Output:: }, "version": "-14918944530-export const x = 10;\n// SomeComment", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -554,7 +554,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -723,7 +723,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -733,7 +733,7 @@ Output:: }, "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -743,7 +743,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder-outFile.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder-outFile.js index ef55f2f72bc9b..d1d34539892be 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder-outFile.js @@ -6,7 +6,7 @@ Input:: "composite": true, "noEmitOnError": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -268,7 +268,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/main.ts": { "original": { @@ -276,7 +276,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/other.ts": { "original": { @@ -284,7 +284,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 f9f9d088f3b3a..a5f262f4606d9 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 @@ -63,7 +63,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -72,7 +72,7 @@ Output:: }, "version": "-8089124208-export const x: string = 10;", "signature": "-8089124208-export const x: string = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -81,7 +81,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -250,7 +250,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -260,7 +260,7 @@ Output:: }, "version": "-5691975201-export const x: string = 10;\n// SomeComment", "signature": "-10161843860-export declare const x: string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -269,7 +269,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -428,7 +428,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -438,7 +438,7 @@ Output:: }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -448,7 +448,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder-outFile.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder-outFile.js index d2b2688750e48..0bbb1d4599704 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder-outFile.js @@ -6,7 +6,7 @@ Input:: "composite": true, "noEmitOnError": true, "outFile": "../outFile.js", - "module": "amd" + "module": "AMD" } } @@ -282,7 +282,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/main.ts": { "original": { @@ -290,7 +290,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./myproject/other.ts": { "original": { @@ -298,7 +298,7 @@ declare module "other" { "impliedFormat": 1 }, "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 a452ad2dbb5bf..5347ebe8bc52e 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 @@ -63,7 +63,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -72,7 +72,7 @@ Output:: }, "version": "-8089124208-export const x: string = 10;", "signature": "-8089124208-export const x: string = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -81,7 +81,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -257,7 +257,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -267,7 +267,7 @@ Output:: }, "version": "-5691975201-export const x: string = 10;\n// SomeComment", "signature": "-10161843860-export declare const x: string;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -276,7 +276,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -442,7 +442,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -452,7 +452,7 @@ Output:: }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -462,7 +462,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js index ed1d233212e8d..e875be95356ee 100644 --- a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js @@ -63,7 +63,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -72,7 +72,7 @@ Output:: }, "version": "-8089124208-export const x: string = 10;", "signature": "-8089124208-export const x: string = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -81,7 +81,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -243,7 +243,7 @@ Output:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -253,7 +253,7 @@ Output:: }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./other.ts": { "original": { @@ -263,7 +263,7 @@ Output:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 aea7090229f64..81702043d5723 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 @@ -164,7 +164,7 @@ declare module "b" { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -172,7 +172,7 @@ declare module "b" { "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -180,7 +180,7 @@ declare module "b" { "impliedFormat": 1 }, "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -268,7 +268,7 @@ Input:: "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -276,7 +276,7 @@ Input:: "impliedFormat": 1 }, "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -284,7 +284,7 @@ Input:: "impliedFormat": 1 }, "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ 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 5cfaefde03cf5..5ad26bcfa1bc8 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js @@ -82,7 +82,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -91,7 +91,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node }, "version": "-10726455937-export const x = 10;", "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -100,7 +100,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node }, "version": "-11268290852-export const y: 10 = 20;", "signature": "-11268290852-export const y: 10 = 20;", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -252,7 +252,7 @@ CreatingProgramWith:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -262,7 +262,7 @@ CreatingProgramWith:: }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -272,7 +272,7 @@ CreatingProgramWith:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -380,7 +380,7 @@ Input:: "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./a.ts": { "original": { @@ -390,7 +390,7 @@ Input:: }, "version": "-10726455937-export const x = 10;", "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./b.ts": { "original": { @@ -400,7 +400,7 @@ Input:: }, "version": "-13729955264-export const y = 10;", "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js index c79276bb5e974..0ae6ee178eb31 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js @@ -113,7 +113,7 @@ declare class class2 { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -124,7 +124,7 @@ declare class class2 { "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -136,7 +136,7 @@ declare class class2 { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -405,7 +405,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -416,7 +416,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class3.d.ts": { "original": { @@ -427,7 +427,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -439,7 +439,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -609,7 +609,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -620,7 +620,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -632,7 +632,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -815,7 +815,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.d.ts": { "original": { @@ -826,7 +826,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class3.d.ts": { "original": { @@ -837,7 +837,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -849,7 +849,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js index 3ae23e9064c56..3fdfe016f8d99 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js @@ -113,7 +113,7 @@ declare class class2 { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.ts": { "original": { @@ -124,7 +124,7 @@ declare class class2 { "version": "777933178-class class1 {}", "signature": "777933178-class class1 {}", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -136,7 +136,7 @@ declare class class2 { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -269,7 +269,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class1.ts": { "original": { @@ -281,7 +281,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "777933178-class class1 {}", "signature": "-2723220098-declare class class1 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../project1/class3.ts": { "original": { @@ -293,7 +293,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "778005052-class class3 {}", "signature": "-2644949312-declare class class3 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./class2.ts": { "original": { @@ -305,7 +305,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ diff --git a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js index 065a453193f86..ceeab0d202940 100644 --- a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js +++ b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-applyChangedToOpenFiles-request.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' commonFile1.ts diff --git a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js index c1a1d89971f85..d2a57e60d7225 100644 --- a/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js +++ b/tests/baselines/reference/tsserver/applyChangesToOpenFiles/with-updateOpen-request.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' commonFile1.ts diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js index db3ad7dee255c..0d408cc55a260 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js @@ -329,7 +329,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -358,7 +358,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js index 5f81b5dbdd7ac..9568fd453703d 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -168,7 +168,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js index 481d3cff846cd..47532ebfa2293 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js @@ -190,7 +190,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/packages/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js index fea2982efa9f1..b4877378cef71 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-an-auto-import-provider-if-there-are-too-many-dependencies.js @@ -196,7 +196,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -225,7 +225,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js index dcda5b2dbb5b9..9580c5aabf954 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js @@ -184,7 +184,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/packages/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -441,7 +441,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -576,7 +576,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/packages/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js index 0c0d7a2bd1e7a..9e03653b425cb 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js @@ -120,7 +120,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js b/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js index 10e7cf64b6373..1ef5212b977dc 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js index e5d006f954e90..bf311b23286ba 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js @@ -148,7 +148,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -177,7 +177,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js index 806328ed22044..0b8f51363cdcb 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js @@ -148,7 +148,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -177,7 +177,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js index 7db8af1c08be1..01ed5942f0a01 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js b/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js index baca2a41e0353..4495669799a8b 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -168,7 +168,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js index 28579becb0683..ce329a854689a 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js index a177b46e71ef7..6faac601bcc7f 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/dependencies-are-already-in-main-program.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -159,7 +159,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js b/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js index 4eb30b13186c8..832d02492c24b 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/without-dependencies-listed.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js index cdabfafefd2cb..42916845b94bc 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/@types/yargs/callback.d.ts Imported via "./callback" from file 'node_modules/@types/yargs/index.d.ts' with packageId '@types/yargs/callback.d.ts@1.0.0' node_modules/@types/yargs/index.d.ts diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js index ec51c2b48c992..38a23e7133e4f 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js @@ -108,7 +108,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../node_modules/@types/yargs/callback.d.ts Imported via "yargs/callback" from file '../folder/random.ts' with packageId '@types/yargs/callback.d.ts@1.0.0' Imported via "./callback" from file '../node_modules/@types/yargs/index.d.ts' with packageId '@types/yargs/callback.d.ts@1.0.0' diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js index c7215b28970e8..181958c163893 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' foo/boo/app.ts Part of 'files' list in tsconfig.json foo/boo/moo/app.ts @@ -335,7 +335,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/debug/index.d.ts Imported via "debug" from file 'foo/boo/app.ts' Imported via "debug" from file 'foo/boo/moo/app.ts' diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js index 3262e831a1d3a..fe7a03f0d719d 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' foo/boo/app.ts Part of 'files' list in tsconfig.json foo/boo/moo/app.ts @@ -335,7 +335,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/debug/index.d.ts Imported via "debug" from file 'foo/boo/app.ts' Imported via "debug" from file 'foo/boo/moo/app.ts' diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js index 5362867fbfb28..27525dd7ac2f5 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' @@ -2046,7 +2046,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/@types/lodash/index.d.ts Imported via 'lodash' from file 'app.ts' with packageId '@types/lodash/index.d.ts@4.14.74' Entry point for implicit type library 'lodash' with packageId '@types/lodash/index.d.ts@4.14.74' diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js index c1a6b6afc0648..6ef089e27d4d2 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' @@ -2221,7 +2221,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/@types/lodash/index.d.ts Imported via 'lodash' from file 'app.ts' with packageId '@types/lodash/index.d.ts@4.14.74' Entry point for implicit type library 'lodash' with packageId '@types/lodash/index.d.ts@4.14.74' diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js index 6656d4243d1ba..257f0b3740d70 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/app/redux/configureStore.ts Matched by include pattern 'src/**/*' in 'tsconfig.json' src/app/utils/Analytic.ts @@ -183,9 +183,9 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "strict": true, "strictNullChecks": true, - "target": "es2016", - "module": "commonjs", - "moduleResolution": "node10", + "target": "ES2016", + "module": "CommonJS", + "moduleResolution": "Node10", "sourceMap": true, "noEmitOnError": true, "experimentalDecorators": true, @@ -376,7 +376,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/app/redux/configureStore.ts Matched by include pattern 'src/**/*' in 'tsconfig.json' src/app/utils/Analytic.ts diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js index 84407be54d5a0..eb6da850f5779 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/app/redux/configureStore.ts Matched by include pattern 'src/**/*' in 'tsconfig.json' src/app/utils/Analytic.ts @@ -183,9 +183,9 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "strict": true, "strictNullChecks": true, - "target": "es2016", - "module": "commonjs", - "moduleResolution": "node10", + "target": "ES2016", + "module": "CommonJS", + "moduleResolution": "Node10", "sourceMap": true, "noEmitOnError": true, "experimentalDecorators": true, @@ -376,7 +376,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/app/redux/configureStore.ts Matched by include pattern 'src/**/*' in 'tsconfig.json' src/app/utils/Analytic.ts diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js index fe213945df897..cb79b753c9b02 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js @@ -142,8 +142,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es6", - "module": "es6", + "target": "ES2015", + "module": "ES2015", "baseUrl": "", "paths": "" }, @@ -174,27 +174,9 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'es6'", + "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2015'", "code": 6053, - "category": "error", - "relatedInformation": [ - { - "span": { - "start": { - "line": 3, - "offset": 15 - }, - "end": { - "line": 3, - "offset": 20 - }, - "file": "/a/b/tsconfig.json" - }, - "message": "File is default library for target specified here.", - "category": "message", - "code": 1426 - } - ] + "category": "error" }, { "text": "Cannot find global type 'Array'.", diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js index 112ea079dc526..32477c3a9b314 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js @@ -101,7 +101,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' client/folder1/module1.ts Matched by include pattern 'client/**/*' in 'tsconfig.json' Imported via "folder1/module1" from file 'client/linktofolder2/module2.ts' @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' client/folder1/module1.ts Matched by include pattern 'client/**/*' in 'tsconfig.json' Imported via "folder1/module1" from file 'client/linktofolder2/module2.ts' diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js index c15491891ceb8..8fbbe6de12f49 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/@types/debug/index.d.ts Imported via "debug" from file 'app.ts' Entry point for implicit type library 'debug' diff --git a/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js b/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js index e138510231d80..5e0c039374c5b 100644 --- a/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js +++ b/tests/baselines/reference/tsserver/cancellationT/Geterr-is-cancellable.js @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js b/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js index 6b77713d4644d..72b71d94dee26 100644 --- a/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js +++ b/tests/baselines/reference/tsserver/cancellationT/Lower-priority-tasks-are-cancellable.js @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js index d49e7bb06c403..53f4617cc7a86 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/codeFix/install-package.js b/tests/baselines/reference/tsserver/codeFix/install-package.js index 36054d10d7371..081d2e764cfe3 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js index bf3b03f3a5b22..a7d48bc7241e6 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js +++ b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-not-specified.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Part of 'files' list in tsconfig.json ../core/core.ts @@ -266,7 +266,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Part of 'files' list in tsconfig.json ../core/core.ts diff --git a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js index 75eccf9875db8..3c1f63b9b6374 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js +++ b/tests/baselines/reference/tsserver/compileOnSave/CompileOnSaveAffectedFileListRequest-when-projectFile-is-specified.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Part of 'files' list in tsconfig.json ../core/core.ts @@ -266,7 +266,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Part of 'files' list in tsconfig.json ../core/core.ts diff --git a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js index 5cec5fb5b07ce..99a026f0bf8ba 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js +++ b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-be-true-if-outFile-is-set.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js index 4c1c5e9983294..7e7a615f7bd77 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js +++ b/tests/baselines/reference/tsserver/compileOnSave/compileOnSaveAffectedFileList-projectUsesOutFile-should-not-be-returned-if-not-set.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js index 011dcf2ca90b7..d80a6152e16d4 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-all-projects-without-projectPath.js @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -380,7 +380,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/c/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js index 9b57865d2e6a0..892228704a013 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-cascaded-affected-file-list.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js index e7d6a758a35e5..6b26860d954bf 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-circular-references.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js index dbc775650c14e..adec1fe930157 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-disabled.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js index 7d34aa1fd9a51..2fc37dc084ebd 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-compileOnSave-in-base-tsconfig.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js index ae520070a8eff..ee4652131adad 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-detect-changes-in-non-root-files.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js index 2d288e1786b18..510d3b399e54a 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-global-file-shape-changed.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js index cad751bfc0184..ebe335c2e8804 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-isolatedModules.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js index babf2fda58bdf..42c1f796b049a 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-module-shape-changed.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js index 88814a9eab653..121641ee66b62 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-noEmit.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js index 6180b8fe1f38e..8acd99cd9aa11 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-non-existing-code.js @@ -117,7 +117,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js index f1bfebd2edffb..d117f00ade44c 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-outFile.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "system", + "module": "System", "outFile": "" }, "typeAcquisition": { diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js index 26cf039f38eef..97d60d1da3b90 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-removed-code.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js index 37221ab314360..9d7012907ffda 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-changes-in-non-open-files.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js index 207fcffebb6de..08f8eab49b878 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-deleted-files.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -375,7 +375,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js index 1d4402c96b163..ce33207f25181 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-new-files.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' @@ -293,7 +293,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js index 6b600fc8db179..9f88de2d74690 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/compileOnSave/configProjects-uptodate-with-reference-map-changes.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js index 2061ad0f0a32c..1d580c3363bfc 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-composite.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js index b63db1230fc06..da1ad2719e9b4 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-decorator-emit.js @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js index 469ba87019eb9..61bfc924454e3 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file-with-dts-emit.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js index 906dd478e8dbe..977054da3fee2 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-global-file.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js index 9154a0144f591..9f26c43daf332 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/dtsFileChange-in-module-file.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js index d1dc4ca81c2ea..1f7620b2fae03 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-dts-emit.js @@ -93,7 +93,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts @@ -136,7 +136,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "declaration": true, - "module": "none" + "module": "None" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js index 8901c3d5c42c8..fd44e18cfebaa 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js @@ -99,7 +99,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js index 19d6ff570b460..71e470d91fc35 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js @@ -99,7 +99,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js index 49d284e13dc12..d279591ab3760 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project.js @@ -93,7 +93,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts @@ -136,7 +136,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "declaration": false, - "module": "none" + "module": "None" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js b/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js index e77a5b5e5fb7b..a443834fa53fd 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-specified-file.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.ts Matched by default include pattern '**/*' Imported via "./f1" from file 'f2.ts' diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js index 80e32454fed59..411ea75255174 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-false.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts @@ -323,7 +323,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js index 207c083328a79..762b896ffc33c 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-true.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts @@ -326,7 +326,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js index 70509f1f2d196..0cc8312f64e56 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-with-richRepsonse-as-undefined.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts @@ -321,7 +321,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js b/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js index 15c127a0ec5f8..eb01a22d37c50 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js +++ b/tests/baselines/reference/tsserver/compileOnSave/should-not-emit-js-files-in-external-projects.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Root file specified for compilation file2.js diff --git a/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js b/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js index edb910f6614a9..9a2befb6dc7b0 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js +++ b/tests/baselines/reference/tsserver/compileOnSave/use-projectRoot-as-current-directory.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Foo.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js index f4f957a123b29..1f9e40486f3f9 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js @@ -294,7 +294,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/app/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js index 10e6279727ad9..07b2c1785e2e1 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/app/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js index 581d68a0a46ca..7103abdf2ef1a 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js @@ -286,7 +286,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/app/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js index a20dae0da104c..e5068be97a7f8 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js @@ -306,7 +306,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/app/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js index 201f9c17ce012..6a5c7515bda5f 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js +++ b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js @@ -232,7 +232,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/app/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js index fb691b8e3532d..862a83ad54854 100644 --- a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js +++ b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js @@ -167,7 +167,7 @@ Info seq [hh:mm:ss:mss] Files (6) c:/a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../node_modules/@types/prop-types/index.d.ts Imported via 'prop-types' from file '../node_modules/@types/react/index.d.ts' with packageId '@types/prop-types/index.d.ts@15.7.3' Entry point for implicit type library 'prop-types' with packageId '@types/prop-types/index.d.ts@15.7.3' diff --git a/tests/baselines/reference/tsserver/completions/works.js b/tests/baselines/reference/tsserver/completions/works.js index e1db36f2bb2ef..03e5e95d14af5 100644 --- a/tests/baselines/reference/tsserver/completions/works.js +++ b/tests/baselines/reference/tsserver/completions/works.js @@ -148,7 +148,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js index 13b157daa2e14..371a85f180aa1 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/ambient-module-specifier-resolutions-do-not-count-against-the-resolution-limit.js @@ -2117,7 +2117,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -2146,7 +2146,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js index 95e1290350f4c..1742f6b95bc88 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(1).js @@ -2967,7 +2967,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -2996,7 +2996,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js index 9c09f7d69abb0..5599b164b3eca 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/resolves-more-when-available-from-module-specifier-cache-(2).js @@ -1317,7 +1317,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -1346,7 +1346,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js index c4fcfdd571333..99e90e95fd858 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-for-transient-symbols-between-requests.js @@ -928,7 +928,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -957,7 +957,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js index 39f470d2d7642..5a4877151500c 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works-with-PackageJsonAutoImportProvider.js @@ -1291,7 +1291,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -1320,7 +1320,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/completionsIncomplete/works.js b/tests/baselines/reference/tsserver/completionsIncomplete/works.js index a137fa356c7b7..950e0a18784c3 100644 --- a/tests/baselines/reference/tsserver/completionsIncomplete/works.js +++ b/tests/baselines/reference/tsserver/completionsIncomplete/works.js @@ -2117,7 +2117,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -2146,7 +2146,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js b/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js index 480e63ac96540..5509b2bcd37e2 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-stop-at-projectRootPath-if-given.js @@ -211,7 +211,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js index bdca2793db7e1..c236723a8f7ed 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' @@ -231,7 +231,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js index a995df2f046ec..6884f617f0405 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js index a778dcdd0fc48..920ff6821702e 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Root file specified for compilation @@ -193,7 +193,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/index.ts Matched by default include pattern '**/*' @@ -404,7 +404,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js index 07a7ecab1bd7e..06eda2bf5baf9 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/index.ts Matched by default include pattern '**/*' @@ -226,7 +226,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js index 5db80e325b557..1e01972a29cbc 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js +++ b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' x.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js index 656439ba33cb5..178e5204f9137 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js +++ b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' x.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js index c4665c7f37f15..c2d0adadb334d 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update-buts-its-open-file-references-are-all-closed-when-the-update-happens.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -236,7 +236,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -702,7 +702,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js index 08101c1fa5f31..9a922efbcb2d8 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -236,7 +236,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -582,7 +582,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js index 6392dd8a20bb6..cd269557cd9d1 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Root file specified for compilation @@ -119,7 +119,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -255,7 +255,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Root file specified for compilation @@ -724,7 +724,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1062,7 +1062,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1075,7 +1075,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1093,7 +1093,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -1257,7 +1257,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1290,7 +1290,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1383,7 +1383,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -1596,7 +1596,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1918,7 +1918,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1931,7 +1931,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1949,7 +1949,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js index 9d3cfcc3c417a..4af2d840a564b 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file-and-file-from-first-config-is-not-open.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -166,7 +166,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -637,7 +637,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -650,7 +650,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -670,7 +670,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -879,7 +879,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1014,7 +1014,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1057,7 +1057,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -1070,7 +1070,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1287,7 +1287,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1300,7 +1300,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1326,7 +1326,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js index e413205abe27f..154ebca685c9b 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-when-parent-folder-has-config-file.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -272,7 +272,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -537,7 +537,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -550,7 +550,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -851,7 +851,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -864,7 +864,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1028,7 +1028,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1061,7 +1061,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1156,7 +1156,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -1288,7 +1288,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1343,7 +1343,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Root file specified for compilation @@ -1653,7 +1653,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1666,7 +1666,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -1985,7 +1985,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1998,7 +1998,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2162,7 +2162,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2195,7 +2195,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -2332,7 +2332,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -2562,7 +2562,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -2575,7 +2575,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2595,7 +2595,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -2773,7 +2773,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2806,7 +2806,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -2945,7 +2945,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -3100,7 +3100,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -3351,7 +3351,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -3364,7 +3364,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -3384,7 +3384,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -3557,7 +3557,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -3590,7 +3590,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -3729,7 +3729,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -3884,7 +3884,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -4124,7 +4124,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -4137,7 +4137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -4157,7 +4157,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' folder/commonFile2.ts Part of 'files' list in tsconfig.json @@ -4338,7 +4338,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -4371,7 +4371,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -4466,7 +4466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -4639,7 +4639,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -4652,7 +4652,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js index f056c6073695b..eb974f77aede8 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file-and-file-from-first-config-is-not-open.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -653,7 +653,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -666,7 +666,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -686,7 +686,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -897,7 +897,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1032,7 +1032,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1075,7 +1075,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -1088,7 +1088,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1305,7 +1305,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1318,7 +1318,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1344,7 +1344,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js index 5fdc42359660a..7e954ff6d688e 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-with-sibling-jsconfig-file.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -282,7 +282,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -553,7 +553,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -566,7 +566,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -869,7 +869,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -882,7 +882,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1046,7 +1046,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -1079,7 +1079,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1174,7 +1174,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -1313,7 +1313,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -1368,7 +1368,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Root file specified for compilation @@ -1678,7 +1678,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -1691,7 +1691,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -2012,7 +2012,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -2025,7 +2025,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2189,7 +2189,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2222,7 +2222,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -2366,7 +2366,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -2596,7 +2596,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -2609,7 +2609,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2629,7 +2629,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -2809,7 +2809,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -2842,7 +2842,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -2988,7 +2988,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -3143,7 +3143,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -3394,7 +3394,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -3407,7 +3407,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -3427,7 +3427,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -3602,7 +3602,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -3635,7 +3635,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -3781,7 +3781,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -3936,7 +3936,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -4176,7 +4176,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -4189,7 +4189,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -4209,7 +4209,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Part of 'files' list in tsconfig.json @@ -4392,7 +4392,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Part of 'files' list in tsconfig.json @@ -4425,7 +4425,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -4520,7 +4520,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation @@ -4693,7 +4693,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -4706,7 +4706,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js index ea131899b5ff8..befd55aa02027 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Matched by default include pattern '**/*' @@ -200,7 +200,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js index 3702faf3bd603..7d90a9d83414b 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-in-list-of-files).js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js index 11dc74acbc330..62ec73710ab0c 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js index ca9d61b1d3d14..27190f3d9a138 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tsserver/configuredProjects/can-update-configured-project-when-set-of-root-files-was-not-changed.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -287,7 +287,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js index a7d4f839cbe84..ddf399ebcd6f7 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../file2.ts Imported via "file2" from file 'file1.ts' file1.ts @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "amd" + "module": "AMD" }, "typeAcquisition": { "enable": false, @@ -249,7 +249,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file2.ts Imported via "file2" from file 'file1.ts' file1.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js index 6b2b5471394d9..c39e30c74fe58 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.ts Matched by include pattern '*.ts' in 'tsconfig.json' f2.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js index 9288fbafb837e..99a1b59e7e61b 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' c/f1.ts Matched by default include pattern '**/*' d/f2.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index a509776efc2bd..c661b7a72782c 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -266,7 +266,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fooBar.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index 71de22c650cab..f350b50135a98 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -249,7 +249,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index 5ffe6c9ed1aaf..b74142dd97f61 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -266,7 +266,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fooBar.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index a6e0e49d10178..a453413fea3c4 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -249,7 +249,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index 0110bee3238db..0bf623a5126a9 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -260,7 +260,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fooBar.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index 8783f7c811225..7fe21e3e25ba2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -257,7 +257,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fooBar.ts Root file specified for compilation @@ -417,7 +417,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index 8face23407466..ebe7326af9813 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -260,7 +260,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fooBar.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index 4986c64985022..15c28f2862fbb 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts @@ -257,7 +257,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fooBar.ts Root file specified for compilation @@ -476,7 +476,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/bar.ts Matched by include pattern './src' in 'tsconfig.json' src/foo.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js index b328b2d7ec02a..0db26e6f671e8 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../node_modules/module2/index.d.ts Imported via "module2" from file '../node_modules/module1/index.d.ts' ../node_modules/module1/index.d.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js b/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js index 658c5d1e8bb4e..3337902058930 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js +++ b/tests/baselines/reference/tsserver/configuredProjects/files-are-properly-detached-when-language-service-is-disabled.js @@ -155,7 +155,7 @@ Info seq [hh:mm:ss:mss] event: "category": "error" }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js index 5f3ab57f6ed67..615232c10fe99 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/files-explicitly-excluded-in-config-file.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js b/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js index c8ce7b3d63955..d419b70e6b029 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tsserver/configuredProjects/handle-recreated-files-correctly.js @@ -120,7 +120,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js index f9f87c185dd9b..7a29681219ad8 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js @@ -420,7 +420,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/c/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js index a5fc048a8feec..a19350b0903a2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-tolerated-without-crashing-the-server-when-reading-tsconfig-file-fails.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js index 2be671756e5af..633365919a4e3 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-ignore-non-existing-files-specified-in-the-config-file.js @@ -144,7 +144,7 @@ Info seq [hh:mm:ss:mss] event: ] }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -270,7 +270,7 @@ Info seq [hh:mm:ss:mss] event: ] }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js b/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js index bcd9033052a57..af12fc420a2a5 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-keep-the-configured-project-when-the-opened-file-is-referenced-by-the-project-but-not-its-root.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es6" + "target": "ES2015" }, "typeAcquisition": { "enable": false, @@ -127,27 +127,9 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'es6'", + "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2015'", "code": 6053, - "category": "error", - "relatedInformation": [ - { - "span": { - "start": { - "line": 3, - "offset": 15 - }, - "end": { - "line": 3, - "offset": 20 - }, - "file": "/a/b/tsconfig.json" - }, - "message": "File is default library for target specified here.", - "category": "message", - "code": 1426 - } - ] + "category": "error" }, { "text": "Cannot find global type 'Array'.", diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js b/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js index f36abb1f16032..4e44e934bb64c 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-not-close-configured-project-after-closing-last-open-file,-but-should-be-closed-on-next-file-open-if-its-not-the-file-from-same-project.js @@ -104,7 +104,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es6" + "target": "ES2015" }, "typeAcquisition": { "enable": false, @@ -133,27 +133,9 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'es6'", + "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2015'", "code": 6053, - "category": "error", - "relatedInformation": [ - { - "span": { - "start": { - "line": 3, - "offset": 15 - }, - "end": { - "line": 3, - "offset": 20 - }, - "file": "/a/b/tsconfig.json" - }, - "message": "File is default library for target specified here.", - "category": "message", - "code": 1426 - } - ] + "category": "error" }, { "text": "Cannot find global type 'Array'.", diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js index 3c16291c93b77..b5f974b989203 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js @@ -13,7 +13,7 @@ export interface T {} //// [/a/b/tsconfig.json] { "compilerOptions": { - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "files": [ "/a/b/file1.ts" @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": false, @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -356,7 +356,7 @@ Before running Timeout callback:: count: 2 //// [/a/b/tsconfig.json] { "compilerOptions": { - "moduleResolution": "classic" + "moduleResolution": "Classic" }, "files": [ "/a/b/file1.ts" @@ -431,7 +431,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js b/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js index 6b95b134c2730..6eaff1e4ab715 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-reuse-same-project-if-file-is-opened-from-the-configured-project-that-has-no-open-files.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es6" + "target": "ES2015" }, "typeAcquisition": { "enable": false, @@ -142,27 +142,9 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'es6'", + "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2015'", "code": 6053, - "category": "error", - "relatedInformation": [ - { - "span": { - "start": { - "line": 3, - "offset": 15 - }, - "end": { - "line": 3, - "offset": 20 - }, - "file": "/a/b/tsconfig.json" - }, - "message": "File is default library for target specified here.", - "category": "message", - "code": 1426 - } - ] + "category": "error" }, { "text": "Cannot find global type 'Array'.", diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js b/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js index e86de730ef279..1671e7c40bd89 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -345,7 +345,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -563,7 +563,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/dummy/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js index e62621f5c6dc4..f0b189a8b779e 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-config-file-errors-and-still-try-to-build-a-project.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es6" + "target": "ES2015" }, "typeAcquisition": { "enable": false, @@ -142,27 +142,9 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'es6'", + "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2015'", "code": 6053, - "category": "error", - "relatedInformation": [ - { - "span": { - "start": { - "line": 3, - "offset": 15 - }, - "end": { - "line": 3, - "offset": 20 - }, - "file": "/a/b/tsconfig.json" - }, - "message": "File is default library for target specified here.", - "category": "message", - "code": 1426 - } - ] + "category": "error" }, { "text": "Cannot find global type 'Array'.", diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js index 5e1d37ae4356c..debe43c66cece 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js @@ -163,7 +163,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js b/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js index 5766c0610fad1..745f3bcaffd37 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -339,7 +339,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -523,7 +523,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -626,7 +626,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -812,7 +812,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -988,7 +988,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -1199,7 +1199,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -1291,7 +1291,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js b/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js index e6f5134c0ab13..8683e021e7df8 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js +++ b/tests/baselines/reference/tsserver/configuredProjects/syntactic-features-work-even-if-language-service-is-disabled.js @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js b/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js index b0daf513eac2f..e783737365665 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../foo/lib/index.d.ts Imported via "../foo/lib" from file 'index.ts' index.ts @@ -300,7 +300,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../foo/lib/index.d.ts Imported via "../foo/lib" from file 'index.ts' index.ts @@ -732,7 +732,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by include pattern 'index.ts' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js b/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js index f8651c286baff..d7b8cfa2731f1 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-file-name-starts-with-caret.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^app.ts Matched by default include pattern '**/*' file.ts diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js b/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js index 7775295d4e40f..effb363b39a76 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js @@ -162,7 +162,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "lib": [ - "es2017" + "ES2017" ] }, "typeAcquisition": { @@ -363,8 +363,8 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "lib": [ - "dom", - "es2017" + "DOM", + "ES2017" ] }, "typeAcquisition": { diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js index 7f65a57300bd4..7a9fb1b069823 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-starting-at-definition.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -839,7 +839,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js index 94b8756039124..5ba56680ce668 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences-target-does-not-exist.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js index d9b085765149d..517d71b2864ac 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferences.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -844,7 +844,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js index 1749f0a4ea71e..c4414034cdf38 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull-definition-is-in-mapped-file.js @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -417,7 +417,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js index 4566a5e54525b..360b193fc95b5 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/findAllReferencesFull.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -844,7 +844,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js index f51ee3bb87499..a9988b8576b65 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan-with-file-navigation.js @@ -201,7 +201,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -810,7 +810,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -1106,7 +1106,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js index 429f4ae13e451..5b8734f7b1a39 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getDefinitionAndBoundSpan.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js index 03984d8246c0d..77b66a8614e4d 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename-when-referencing-project-doesnt-include-file-and-its-renamed.js @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -348,7 +348,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js index 106bfc58830b7..aaf4e62986b9d 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/getEditsForFileRename.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js index 409d9bf1ae689..ad64d1d80aee3 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition-target-does-not-exist.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js index 0ada6b53decf9..0c3329b99d493 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToDefinition.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js index f071b1993c08d..78d779da6ead8 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToImplementation.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js index 939e0c8c01fbf..1326f5cb47cd7 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/goToType.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js index 8bc43bd35d2da..7584dd094a2b5 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateTo.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js index 7fca14d713367..f6a5fddec0a9c 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-file-is-not-specified-but-project-is.js @@ -201,7 +201,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -788,7 +788,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js index 1f4644ddcb5b3..2a65ed9e571e5 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/navigateToAll-neither-file-not-project-is-specified.js @@ -201,7 +201,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -788,7 +788,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js index 36e5c50431213..cfbc1511357dc 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-starting-at-definition.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -839,7 +839,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js index 40faa1901ca6b..f7cfb1189aaf2 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations-target-does-not-exist.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js index 43dc45cd65be1..7243b727b1de6 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocations.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -843,7 +843,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js index 9997c36d4eff4..195f07d6b09dc 100644 --- a/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js +++ b/tests/baselines/reference/tsserver/declarationFileMaps/renameLocationsFull.js @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -843,7 +843,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js index 63b99aca51965..001ae00a20914 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js +++ b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' module1.d.ts Imported via "./module1" from file 'index.ts' index.ts @@ -256,7 +256,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Part of 'files' list in tsconfig.json @@ -368,7 +368,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' module1.d.ts Imported via "./module1" from file 'index.ts' index.ts diff --git a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js index af7c1e02817af..2341cc817a11e 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js +++ b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' module1.d.ts Imported via "./module1" from file 'index.ts' index.ts @@ -256,7 +256,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Part of 'files' list in tsconfig.json @@ -360,7 +360,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' module1.d.ts Imported via "./module1" from file 'index.ts' index.ts diff --git a/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js b/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js index bf68cbbe3d895..cc72ef6fdf37c 100644 --- a/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js +++ b/tests/baselines/reference/tsserver/duplicatePackages/works-with-import-fixes.js @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js index 4b9e4a3236df5..aeec839764ebc 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-fails-when-useInferredProjectPerProjectRoot-is-false.js @@ -58,7 +58,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js index d276686ca06aa..0b2d23188f514 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-projectRootPath-with-useInferredProjectPerProjectRoot.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js Root file specified for compilation @@ -272,7 +272,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#2.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js index 631d2db61d781..4c08553b9eeb8 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-with-reference-paths-without-external-project.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js index d2d596d51ea47..f45062bb3ff81 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/dynamic-file-without-external-project.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^walkThroughSnippet:/Users/UserName/projects/someProject/out/someFile#1.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js index 48d15298ec7a1..51a4c80f15b76 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-and-closing-untitled-files-when-projectRootPath-is-different-from-currentDirectory.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' untitled:^Untitled-1 Root file specified for compilation @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file.ts Matched by default include pattern '**/*' @@ -383,7 +383,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' untitled:^Untitled-1 Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js index 96634051c9e60..79e18f40f6ef0 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/opening-untitled-files.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' untitled:^Untitled-1 Root file specified for compilation @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Untitled-1.ts Matched by default include pattern '**/*' @@ -476,7 +476,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' untitled:^Untitled-1 Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js b/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js index 34d41c00722ef..e57ffb062274b 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/untitled-can-convert-positions-to-locations.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/proj/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/dynamicFiles/untitled.js b/tests/baselines/reference/tsserver/dynamicFiles/untitled.js index 211ec12ad3c31..4f3169c916d2b 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/untitled.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/untitled.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' untitled:/Users/matb/projects/san/^newFile.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js b/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js index 0fe67766bb112..babcceb1e45df 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/walkThroughSnippet.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' walkThroughSnippet:/usr/share/code/resources/app/out/vs/workbench/contrib/welcome/walkThrough/browser/editor/^vs_code_editor_walkthrough.md#1.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js b/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js index 78a6b122a3422..63813725de6e5 100644 --- a/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js +++ b/tests/baselines/reference/tsserver/dynamicFiles/when-changing-scriptKind-of-the-untitled-files.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' untitled:^Untitled-1 Root file specified for compilation @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' untitled:^Untitled-1 Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js index 69f232ef2e515..7bd31196c9bf7 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' large.js Imported via "./large" from file 'file.ts' file.ts diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js index 93941e89da4ed..6e072119db1fc 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file.ts Part of 'files' list in tsconfig.json src/large.js diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js index 15d013362e647..121ed5121a5fb 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' large.ts Imported via "./large" from file 'file.ts' file.ts diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js index 0562f775c0fa6..5b22e3359b99e 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file.ts Part of 'files' list in tsconfig.json src/large.ts diff --git a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js index cdc2ca9549551..307b5913f4a5c 100644 --- a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js +++ b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/language-service-disabled-events-are-triggered.js @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -521,7 +521,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js index e211bbf79ae43..198b9fd71f395 100644 --- a/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js +++ b/tests/baselines/reference/tsserver/events/projectLanguageServiceState/large-file-size-is-determined-correctly.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] Files (2) lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.js Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js index 9390709efb564..37a7c11d6330c 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' b.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js index 36d38ba9e89a0..74f61f0882540 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' b.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js index 8ff655772123f..65b230dc33d48 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js index 1f3e65a5f5019..026e3a7fa128f 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js index 346a1aed1e6b7..8d7941a564f8f 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js @@ -140,7 +140,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js index 0a874e860dd1a..894764b4a82fc 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js @@ -140,7 +140,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js index 955ceddd2b50c..3541f69fb0ac1 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js index 69a7f5292fa58..330c3ba83c65c 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js index c957f44213f22..0ce5b871174ca 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js @@ -138,7 +138,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js index 094b5c2ab9926..c44b27280362e 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js @@ -138,7 +138,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js index eab49d4e47a53..7ce0defbb06e9 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/a.d.ts Imported via "../a/a" from file 'b.ts' File is output of project reference source '../a/a.ts' @@ -312,7 +312,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js index 616d861b38aa2..dd6b44d5501e7 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/a.d.ts Imported via "../a/a" from file 'b.ts' File is output of project reference source '../a/a.ts' @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js index bf75c900f2495..7408cb3ebfcfb 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js @@ -119,7 +119,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/a.ts Imported via "../a/a" from file 'b.ts' b.ts @@ -303,7 +303,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js index 1f6f016b47cc9..eea3e3ceb6e5c 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js @@ -119,7 +119,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/a.ts Imported via "../a/a" from file 'b.ts' b.ts @@ -300,7 +300,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js index bc443378dc6ea..8552375722f6a 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -238,7 +238,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' b.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js index a8eda06e0e54b..f347b0dd1e611 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -235,7 +235,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' b.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js index e0805f653725c..ae297ed6aa7db 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file3.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js index 71a198038888d..179431562dd22 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file3.ts @@ -415,7 +415,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../node_modules/file2.d.ts Imported via "file2" from file 'file1.ts' file1.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index efa1f39d35b0d..bcd3745805462 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -362,7 +362,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index d473c6ab43513..1451dc2592814 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "system", + "module": "System", "outFile": "" }, "typeAcquisition": { @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -357,7 +357,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js index 8f5a83a4bb34a..765d92a401010 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -370,7 +370,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js index 69cb7b6c966f7..b17b3f87c5439 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -376,7 +376,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js index 779481d763881..dfdefa511de37 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -376,7 +376,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1Consumer1.ts Matched by default include pattern '**/*' moduleFile1.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js index 4bdfda00ddc81..3b6e6ff9c6097 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -355,7 +355,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js index 7c438e41dae85..aeff6689196ca 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js @@ -120,7 +120,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -327,7 +327,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js index 1c75ddd1d4b4a..256479d8dab6d 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js @@ -117,7 +117,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -306,7 +306,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' referenceFile1.ts Matched by default include pattern '**/*' @@ -452,7 +452,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile2.ts Referenced via './moduleFile2.ts' from file 'referenceFile1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js index 11de426f64382..d9a07516143d5 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js @@ -117,7 +117,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -292,7 +292,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' referenceFile1.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js index 83a470ebb9fd1..a172ba58b6d23 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -355,7 +355,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js index d4b6be81bdc1b..ad8e578f23919 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -392,7 +392,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js index f7e1156a19c6a..8dd05784f08b7 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js @@ -117,7 +117,7 @@ Info seq [hh:mm:ss:mss] event: "configFileName": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -294,7 +294,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js index 117b46684497b..845395f232a3a 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -220,7 +220,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js index d6b4f63a72bea..3348d577f2e56 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' @@ -213,7 +213,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts @@ -326,7 +326,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js index d3f4fa22f54d4..7c1513a588b07 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -215,7 +215,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index a3a7438e91344..d6010739ac9c4 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file3.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index 088778f2d005f..c9b1f367c334a 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file3.ts @@ -419,7 +419,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../node_modules/file2.d.ts Imported via "file2" from file 'file1.ts' file1.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index c57f46656ab12..12c272f1512eb 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -365,7 +365,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index e4d6e420bb1a1..d8752e7348d36 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "system", + "module": "System", "outFile": "" }, "typeAcquisition": { @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -360,7 +360,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js index 6d0671b56f5fb..31276a32a0460 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -373,7 +373,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js index 5fb1389febdb0..5ea0da4758456 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -379,7 +379,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js index 0e464de0c8ebd..f3705c5e9bbea 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -379,7 +379,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1Consumer1.ts Matched by default include pattern '**/*' moduleFile1.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js index da893f5a824d3..256b89cd0d140 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -358,7 +358,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js index c9cb6bea6571d..7910107275d16 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -330,7 +330,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js index 1015dc08db44a..30306413bb2b7 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' referenceFile1.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile2.ts Referenced via './moduleFile2.ts' from file 'referenceFile1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js index fa6da7206d065..1ad135f5c6e78 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -295,7 +295,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' referenceFile1.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js index 0f669de0dd9bc..6ee8456ed456b 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -358,7 +358,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js index f2cf0716195fb..06526df056bb5 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -395,7 +395,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js index 5529f8033737b..cbe586c0fa8b3 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -297,7 +297,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js index 26c8323a3049c..8b9491d0fb1e8 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -223,7 +223,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js index eff3e4ec822ae..70d56e10a85a0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' @@ -216,7 +216,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts @@ -330,7 +330,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js index 97f10e608fa55..0e14bc232e4c2 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -218,7 +218,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index fa8db928e7160..4326ae3b64dc4 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file3.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index aafc5d680abf3..1b9fc81985690 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file3.ts @@ -406,7 +406,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../node_modules/file2.d.ts Imported via "file2" from file 'file1.ts' file1.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index ca7c530108685..96886379e4920 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -365,7 +365,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index cff251a253c5e..8fd3bae96686f 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "system", + "module": "System", "outFile": "" }, "typeAcquisition": { @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -360,7 +360,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js index cb7fe9e2eaaa5..6d39e93fc2573 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -373,7 +373,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js index a60670c0102d5..6494078a3cb4d 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -379,7 +379,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js index 54385ec711b13..4ca7fa3e60b92 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -379,7 +379,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1Consumer1.ts Matched by default include pattern '**/*' moduleFile1.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js index cd1f5074695da..2e6aeba590319 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -358,7 +358,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js index 1864cba4e130f..3448516b9742e 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -330,7 +330,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' file1Consumer1.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js index aab330cbd3153..340b0131cb648 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' referenceFile1.ts Matched by default include pattern '**/*' @@ -461,7 +461,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile2.ts Referenced via './moduleFile2.ts' from file 'referenceFile1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js index 417801317ac4d..8043fbcb31d97 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -295,7 +295,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' referenceFile1.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js index 64c0e36017067..c7045802e4550 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -358,7 +358,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js index ab52808266377..5a0a589ca3932 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -395,7 +395,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' moduleFile1.ts Imported via "./moduleFile1" from file 'file1Consumer1.ts' Imported via "./moduleFile1" from file 'file1Consumer2.ts' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js index 80321ad4ca9e9..8b7117c614901 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -297,7 +297,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file2.ts Referenced via './file2.ts' from file 'file1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js index 6642bd00c7f0d..5cb28ca646713 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -223,7 +223,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js index f82f10361be1e..94bac28f8ae54 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' @@ -216,7 +216,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts @@ -335,7 +335,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js index 4fe7c7d1db37b..68f6af83d67d4 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -218,7 +218,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js index ff4b23996b9c6..37c009221c839 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js @@ -230,7 +230,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts @@ -440,7 +440,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts @@ -1353,7 +1353,7 @@ Info seq [hh:mm:ss:mss] Files (8) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js index 47d59612b6824..34ade73e642fa 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts @@ -199,7 +199,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js index d147bdd732e51..4767863bda759 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js @@ -230,7 +230,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts @@ -440,7 +440,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts @@ -1353,7 +1353,7 @@ Info seq [hh:mm:ss:mss] Files (8) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js b/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js index 797d06a233a67..ee416bc02893f 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js +++ b/tests/baselines/reference/tsserver/exportMapCache/caches-auto-imports-in-the-same-file.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js index f5c2e8e55a21c..03fa78d5ab9b8 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-package.json-is-changed-inconsequentially.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js index a3d4ccf0f4b9a..c21e296fd8d39 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially-referencedInProject.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' ../lib/index.ts @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "commonjs", + "module": "CommonJS", "paths": "" }, "typeAcquisition": { @@ -314,7 +314,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' @@ -353,7 +353,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js index a6c2568a4c8f9..784f4a00882f3 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-invalidate-the-cache-when-referenced-project-changes-inconsequentially.js @@ -144,7 +144,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' @@ -196,7 +196,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "commonjs", + "module": "CommonJS", "paths": "" }, "typeAcquisition": { @@ -317,7 +317,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' @@ -356,7 +356,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js index aa35542f453f3..fa14c76f728b8 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js +++ b/tests/baselines/reference/tsserver/exportMapCache/does-not-store-transient-symbols-through-program-updates.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js index 02ff8f29be97d..6bdb526b289a8 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-a-file-is-opened-with-different-contents.js @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js index 397c0895c86cd..c9f7690fb748a 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-files-are-deleted.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js index 6d2a97248c693..37bd7bef19176 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-new-files-are-added.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js index 8ad8f81d009d7..595d563c0ae17 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-package.json-change-results-in-AutoImportProvider-change.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js index 5e9d403468cb8..f9e086475bfac 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures-referencedInProject.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' ../lib/index.ts @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "commonjs", + "module": "CommonJS", "paths": "" }, "typeAcquisition": { @@ -314,7 +314,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' @@ -353,7 +353,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js index 602f1290c1319..4c25a43b9f20a 100644 --- a/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js +++ b/tests/baselines/reference/tsserver/exportMapCache/invalidates-the-cache-when-referenced-project-changes-signatures.js @@ -144,7 +144,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' @@ -196,7 +196,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "commonjs", + "module": "CommonJS", "paths": "" }, "typeAcquisition": { @@ -317,7 +317,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' @@ -356,7 +356,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js b/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js index fc523ae4f4bb8..59b1e7913dcf3 100644 --- a/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js +++ b/tests/baselines/reference/tsserver/externalProjects/can-update-external-project-when-set-of-root-files-was-not-changed.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js index 70eb58dd5831f..46b679f60d8c0 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handles-changes-in-lib-section-of-config-file.js @@ -111,12 +111,12 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs", - "target": "es5", + "module": "CommonJS", + "target": "ES5", "noImplicitAny": true, "sourceMap": false, "lib": [ - "es5" + "ES5" ] }, "typeAcquisition": { diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js index 535149784f5df..357761ee88493 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1-with-lazyConfiguredProjectsFromExternalProject.js @@ -396,7 +396,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js index bcbcffad4dee3..1e8b893aecfef 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---1.js @@ -336,7 +336,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js index 82f5e7ab926a8..722e632b54749 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2-with-lazyConfiguredProjectsFromExternalProject.js @@ -321,7 +321,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/c/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -463,7 +463,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/d/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -935,7 +935,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/c/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -1035,7 +1035,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/d/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js index 09aae8125fdfc..953818888bb64 100644 --- a/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js +++ b/tests/baselines/reference/tsserver/externalProjects/correctly-handling-add-or-remove-tsconfig---2.js @@ -260,7 +260,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/c/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -404,7 +404,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/d/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -815,7 +815,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/c/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -917,7 +917,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/d/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js index e418370d4a0b6..326f4d5b242b5 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works-with-lazyConfiguredProjectsFromExternalProject.js @@ -205,7 +205,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' js/site.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js index b05f5de7f1c4f..b3317f2cbd5c2 100644 --- a/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js +++ b/tests/baselines/reference/tsserver/externalProjects/deleting-config-file-opened-from-the-external-project-works.js @@ -321,7 +321,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' js/site.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js b/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js index 7e3639e4b5e9c..a1a5d544bdb21 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-that-included-config-files.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -281,7 +281,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/c/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -783,7 +783,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/c/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js index 8414e1721898c..e9a38c3b15e0a 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project-and-then-closed.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.ts Matched by default include pattern '**/*' @@ -301,7 +301,7 @@ Info seq [hh:mm:ss:mss] Files (2) lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f2.ts Root file specified for compilation @@ -314,7 +314,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js index e906b5d891092..b5e6a7261fd11 100644 --- a/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js +++ b/tests/baselines/reference/tsserver/externalProjects/external-project-with-included-config-file-opened-after-configured-project.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js index ce0167b63d8fa..4f55b6162adf7 100644 --- a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js +++ b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js @@ -261,7 +261,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' javascript.js Root file specified for compilation @@ -537,7 +537,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' javascript.js Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js b/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js index 3671c90559044..25ab9b43da8e2 100644 --- a/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js +++ b/tests/baselines/reference/tsserver/externalProjects/handles-loads-existing-configured-projects-of-external-projects-when-lazyConfiguredProjectsFromExternalProject-is-disabled.js @@ -183,7 +183,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -408,7 +408,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js b/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js index c23f67e20e665..ad121d73927e5 100644 --- a/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js +++ b/tests/baselines/reference/tsserver/externalProjects/should-handle-non-existing-directories-in-config-file.js @@ -120,7 +120,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js b/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js index 82964d5c04ee3..16e61296290b1 100644 --- a/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js +++ b/tests/baselines/reference/tsserver/externalProjects/when-file-name-starts-with-caret.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file.ts Root file specified for compilation ^app.ts diff --git a/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js b/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js index 33a9bc86e4156..e1462ed21aee2 100644 --- a/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js +++ b/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js @@ -183,8 +183,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es2018", - "module": "commonjs", + "target": "ES2018", + "module": "CommonJS", "strict": true, "esModuleInterop": true, "composite": true, @@ -218,9 +218,27 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/packages/babel-loader/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.es2018.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'es2018'", + "text": "File '/a/lib/lib.es2018.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2018'", "code": 6053, - "category": "error" + "category": "error", + "relatedInformation": [ + { + "span": { + "start": { + "line": 4, + "offset": 19 + }, + "end": { + "line": 4, + "offset": 27 + }, + "file": "/packages/babel-loader/tsconfig.json" + }, + "message": "File is default library for target specified here.", + "category": "message", + "code": 1426 + } + ] }, { "text": "Cannot find global type 'Array'.", @@ -412,8 +430,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es2018", - "module": "commonjs", + "target": "ES2018", + "module": "CommonJS", "strict": true, "esModuleInterop": true, "composite": true, @@ -447,9 +465,27 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/packages/core/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.es2018.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'es2018'", + "text": "File '/a/lib/lib.es2018.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2018'", "code": 6053, - "category": "error" + "category": "error", + "relatedInformation": [ + { + "span": { + "start": { + "line": 4, + "offset": 19 + }, + "end": { + "line": 4, + "offset": 27 + }, + "file": "/packages/core/tsconfig.json" + }, + "message": "File is default library for target specified here.", + "category": "message", + "code": 1426 + } + ] }, { "text": "Cannot find global type 'Array'.", diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js index f02621fb46df0..9cd79f12a2405 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js index 614813e13c217..ece544371a37c 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js index 7b95985c997b7..2a5f82113f603 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js index 8fa26297475a6..c09f4fc37027f 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js index 4315044b04701..89dc4b40c72f7 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js index a30794a8015f0..6c93a3a387e91 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js index 510dca74a95dd..1ffcf3561a866 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js index 291956b4ed840..8a3a3aecb9981 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index b510856cf2b1b..cca32da717c0e 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Logger.ts Matched by default include pattern '**/*' Imported via "./Logger" from file 'another.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js index ca7783922ee51..a0e5e4a7522a8 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js index a6a060514a357..6d92c27ba9891 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js index 2994d77d6f3c3..7d99d0e97fa07 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js index 5c95acde6b4f0..dd38d4a355206 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY/a.ts Imported via "./XY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 3d07c2303ec9c..a5e31c5dea970 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -110,7 +110,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/fp-ts/lib/Struct.d.ts Imported via "fp-ts/lib/Struct" from file 'src/anotherFile.ts' Imported via "fp-ts/lib/struct" from file 'src/anotherFile.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js index 320797449793f..842901a820d46 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js index d5f0f262b77be..b70cd944fc434 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js index 6903a8dd841d8..497f3b7efd063 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js index 44fed6cc3fe13..57a20f3121dc6 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./XY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js index 5694d072aacbc..f36abe3a40fad 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js index 6a73c5024e81f..16f6163d9a5a8 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js index f6165d68d177f..6bf55910b503a 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js index 203c1cb38ad14..a03fddabefbd9 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' xY/a.ts Imported via "./xY/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js index 6b7450498c0b0..6afe901eb2318 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js index 523c0600bb69e..b02df2ace206b 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js index 2b29b89b8d5e5..f52328a034da5 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js index d47c6432da459..ffe73326864d2 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./xY" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js index 21e31aef007d6..995161926ab39 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js index 7d6f41543b626..9301ad61731ed 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js index 1570809142940..4d113fe601578 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js index e1c59ce0b8b70..c2444f63568d4 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js index 6bdc812271770..9ac14210456e4 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js index 13ac429dfce62..b863cf64f9f37 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js index 20855c078f06a..c1afafce73aa1 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js index 9af0ab524df58..97eedc1fc3e49 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js index 481f2ec53cb3a..4d587d7b89f0f 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js index c607f48e850bb..63d7d865a61d5 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js index fbeaa462f207e..27c5c78cb70be 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js index 7f3c9266f3c6b..7302263379f6b 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Xy/a.ts Imported via "./Xy/a" from file 'b.ts' Matched by default include pattern '**/*' @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] event: "compilerOptions": { "forceConsistentCasingInFileNames": true, "outFile": "", - "module": "system" + "module": "System" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js index aa3d98b0b04b1..3cc144abdf0a5 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js index 98df23f7b28ca..78cb476864904 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js index ca09578324369..8f9650bfb970b 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js index 91222a2ed57d3..1846efd38da47 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js @@ -90,7 +90,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' XY.ts Matched by default include pattern '**/*' Imported via "./Xy" from file 'b.ts' diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js index acc0c4a2109fd..98cd3d522735a 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js @@ -110,7 +110,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' types/file2/index.d.ts diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js index 441716a379987..b829e714bd3fb 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Logger.ts Matched by default include pattern '**/*' Imported via "./Logger" from file 'another.ts' diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js index 22926f47191b3..0879d2262d463 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js @@ -73,7 +73,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts @@ -186,7 +186,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js index 35b84d7a7ba66..02470dd29fef3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_baseUrl_toDist.js @@ -95,7 +95,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -265,7 +265,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js index 0ee53e47b9555..bb35d4ba18a7f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -209,7 +209,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js index 38a9161e2372a..d726ced68e23a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] Files (8) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -243,7 +243,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -286,7 +286,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js index 511e3a68bdd63..864ca5c7ff64d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] Files (8) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -243,7 +243,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -286,7 +286,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js index 3b307f2960e9e..218e3a7ec9ba6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist2.js @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -272,7 +272,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js index 1ff20572701cf..2a15a15075e9e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js @@ -149,7 +149,7 @@ Info seq [hh:mm:ss:mss] Files (8) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -243,7 +243,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -286,7 +286,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js index d4ce9888ed416..6f87bd10267d0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -211,7 +211,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -254,7 +254,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js index a3d5e4938b291..5b8a4f357657a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -211,7 +211,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -254,7 +254,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js index c61a4b0d322e3..1f68cb35cb1e1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -202,7 +202,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -245,7 +245,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js index 243e803c0efdd..f595baae1eb29 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js index 125913113e95c..7d779b94a24fa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js index 7b0c8a752732a..02f43a8536b98 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' /lib.decorators.d.ts Library referenced via 'decorators' from file '/lib.d.ts' /lib.decorators.legacy.d.ts @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' /lib.decorators.d.ts Library referenced via 'decorators' from file '/lib.d.ts' /lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js index c4576d789d2fb..cf62f8e63ba12 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../../lib.d.ts' ../../../../../lib.decorators.legacy.d.ts @@ -146,7 +146,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js index 560cc7908adad..c855725960a11 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' /lib.decorators.d.ts Library referenced via 'decorators' from file '/lib.d.ts' /lib.decorators.legacy.d.ts @@ -184,7 +184,7 @@ Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' /lib.decorators.d.ts Library referenced via 'decorators' from file '/lib.d.ts' /lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js index 4551104b015fa..aded6f0a04021 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' /lib.decorators.d.ts Library referenced via 'decorators' from file '/lib.d.ts' /lib.decorators.legacy.d.ts @@ -156,7 +156,7 @@ Info seq [hh:mm:ss:mss] Files (4) /lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' /lib.decorators.d.ts Library referenced via 'decorators' from file '/lib.d.ts' /lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js index 9c5b449d88ca8..8ad21a77cf429 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js @@ -92,7 +92,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -213,7 +213,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js index e0448899eed96..164d24abed796 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js index 9cc46a0d6f801..5c57a7bb29a5e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider2.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js index 00da232589137..3a0d3a5ed0a27 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider3.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -193,27 +193,9 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/packages/a/tsconfig.json", "diagnostics": [ { - "text": "File '/lib.esnext.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'esnext'", + "text": "File '/lib.esnext.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'ESNext'", "code": 6053, - "category": "error", - "relatedInformation": [ - { - "span": { - "start": { - "line": 1, - "offset": 34 - }, - "end": { - "line": 1, - "offset": 42 - }, - "file": "/packages/a/tsconfig.json" - }, - "message": "File is default library for target specified here.", - "category": "message", - "code": 1426 - } - ] + "category": "error" }, { "text": "Cannot find global type 'Array'.", diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js index 7421905952528..2b2e5e99b6456 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider4.js @@ -114,27 +114,9 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/lib.esnext.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'esnext'", + "text": "File '/lib.esnext.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'ESNext'", "code": 6053, - "category": "error", - "relatedInformation": [ - { - "span": { - "start": { - "line": 1, - "offset": 56 - }, - "end": { - "line": 1, - "offset": 64 - }, - "file": "/a/tsconfig.json" - }, - "message": "File is default library for target specified here.", - "category": "message", - "code": 1426 - } - ] + "category": "error" }, { "text": "Cannot find global type 'Array'.", @@ -205,7 +187,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -245,7 +227,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js index 89e682d1ead04..83865b67a3daa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -161,7 +161,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index 5d141c0daf2f9..a6378b6627d71 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -435,7 +435,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js index 923734767437d..007ce369be877 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js @@ -157,7 +157,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js index f29c71acf1c85..06c8d682037e9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js @@ -157,7 +157,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js index f146f304a0e6d..b1039ed947e3e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap1.js @@ -143,7 +143,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js index 6a6f651d1bc2e..adb4d5b007dad 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -143,7 +143,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js index 909820209b14f..8c42b5de49705 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -136,7 +136,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js index 5258ee7dd5865..a6dbd34acb5b6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap4.js @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js index a8e2b92cd4260..239019c5c69f9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap5.js @@ -164,7 +164,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js index dc45b84d66612..90a62b9967d45 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap6.js @@ -173,7 +173,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js index 474af97fbfa06..7998bcd9c3459 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap7.js @@ -158,7 +158,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js index 5b2fc314b3b42..6eccbe172d16a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap8.js @@ -157,7 +157,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js index d830dce8b8e0e..da513af16ea14 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap9.js @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js index 135cda3b8bb82..6aa35e8a7cfcd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../../../lib.d.ts' ../../../../../../lib.decorators.legacy.d.ts @@ -208,7 +208,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js index 866447912e070..92e58dd532e5b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap1.js @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js index 1814228b734a1..e6ce2bbf0637a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap2.js @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js index 2ffd8c56d5a2a..079a58653b18f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap3.js @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js index 37e363a71dffe..9dde0662ccd4a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap4.js @@ -138,7 +138,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js index d17a80e3c012b..8c75a914e1747 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_importsMap5.js @@ -155,7 +155,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js index ffb5faecf4d5f..7b976b8496ec2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js index 0dd971afd3b73..8fc523e5b48c8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js @@ -119,7 +119,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js index aed3525578f0d..ab6192215d82d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_referencesCrash.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -257,7 +257,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -475,7 +475,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js index 0f55ce2d9122a..c1b2d24b5d79e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports1.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js index 12a65d0e7ec20..f7ac239d86ad8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports2.js @@ -67,7 +67,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js index 1e6db41dd2be9..1a75bc9a786dc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts @@ -182,7 +182,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index 5dd14526aa732..c1175f587f585 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -133,7 +133,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js index 49e5bf94ab071..4c08729479637 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportRelativePathToMonorepoPackage.js @@ -144,7 +144,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js index e5ec811a46d66..4d8e63b770bda 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportSymlinkedJsPackages.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -155,7 +155,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/brace01.js b/tests/baselines/reference/tsserver/fourslashServer/brace01.js index b33095f69e123..93d640b5d5cd0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/brace01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/brace01.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js b/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js index bbe91f78417a8..f1211c8a20a70 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js index e54fd77cc53b9..34b42d0d0e5c0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -877,7 +877,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -898,7 +898,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js index f623621f83ab2..a3073071a7b82 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -883,7 +883,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -904,7 +904,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions01.js b/tests/baselines/reference/tsserver/fourslashServer/completions01.js index 54942c5060e02..9046ec9c41e1a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions01.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions02.js b/tests/baselines/reference/tsserver/fourslashServer/completions02.js index df98f89c4c44c..0c167d63001d4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions02.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions03.js b/tests/baselines/reference/tsserver/fourslashServer/completions03.js index 6e626664d0513..78644de173208 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions03.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions03.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js index 8c54822f874f5..3849488b47249 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -154,7 +154,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js index dbba7355a52c1..240a82f5973c8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -145,7 +145,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js index 83f4bcc5e4de5..1cdff33200200 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js index c3d160e9d29ec..69ecc697c5fd4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_mergedReExport.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js index dde88fa306d81..b0854e7b6cb0c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js index 72eda65d3d783..6ebc23a625682 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsOverridingMethodCrash2.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js index 86399377d7e02..103dd20e23e76 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js +++ b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -136,7 +136,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js index c291a798d6861..36e1099624b21 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js index abc636ba26358..cebef57bfc471 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js index c28e535033cb0..2ecf135268bf1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -188,7 +188,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js index 4506e1de3376d..821c9d5004c89 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInline.js @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -385,7 +385,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js index 13b0f10867ff3..5c8fc223e5c3d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsEnableMapping_NoInlineSources.js @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -174,7 +174,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -387,7 +387,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js index 884b1fcee5993..386a5877cc1e8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -170,7 +170,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -383,7 +383,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js index 16fc91e4dca4a..498724512029e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping2.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -177,7 +177,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -395,7 +395,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js index 850ac9ef43f47..2289a60822da7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGeneratedMapsEnableMapping3.js @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -187,7 +187,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -415,7 +415,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js index b2dc2bc81bb51..23d067c57839a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -189,7 +189,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js index 7664148903bc5..20ec268b3157b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js @@ -110,7 +110,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../../lib.d.ts' ../../../../../lib.decorators.legacy.d.ts @@ -244,7 +244,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../../lib.d.ts' ../../../../../lib.decorators.legacy.d.ts @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../../lib.d.ts' ../../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js index 2b1bade94fe13..74d9a0ce943e2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts @@ -140,7 +140,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -161,7 +161,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/definition01.js b/tests/baselines/reference/tsserver/fourslashServer/definition01.js index c2a8f5366f10f..08aae606b9133 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/definition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/definition01.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js index 072bf5e9db7c3..a741aced45ab3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js index 6d4681d94a33f..3c15c4deb9ccc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -162,7 +162,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -183,7 +183,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js index 821073a9c8c00..f260c6afc704c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js b/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js index 37e1d95a4b129..89cace2dd48e2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js +++ b/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/format01.js b/tests/baselines/reference/tsserver/fourslashServer/format01.js index 3ba2d397c75c6..ec2c016cab7b7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/format01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/format01.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js index 49ffc857b5b2d..2c696ed195240 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js index 8c6265fc49948..c5939878213da 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js index 1711c64ac483e..15bb203e5520c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js index 1402e31cbe303..7140faa59adf3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js index 523d7a2e8b82c..71341892ff49a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_deduplicate.js @@ -145,7 +145,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -225,7 +225,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -317,7 +317,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js index 215890f89db5a..36b6b1627927a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server1.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index 1d59491b29d4e..8f37eea424d54 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -187,7 +187,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -255,7 +255,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -351,7 +351,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js index 014a773dbc10e..aa45ff514c063 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js index 1466e72d5fc08..912edc5a5811b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js index 0840fe0a72676..2da3210c5d948 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js index 867865a835836..ab420ef805bda 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js @@ -93,7 +93,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js index 8b877dbd90a8f..d9f47be14aef5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js b/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js index 23fee6dd9da7d..53fd750be5e8b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToDefinitionScriptImportServer.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -117,7 +117,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -138,7 +138,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js b/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js index 89ec24f3c0881..408f4ececc7dc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToImplementation_inDifferentFiles.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js index e79aecbc97339..19ee5431d097c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource10_mapFromAtTypes3.js @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -181,7 +181,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js index 62e159df85165..998b6c0b24d1d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource11_propertyOfAlias.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js index 73464ce772394..4ebae1c0dffee 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource12_callbackParam.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts @@ -151,7 +151,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js index 8d0280a49ae0c..f6fe17900432e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource13_nodenext.js @@ -66,7 +66,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js index 7c667b86182fd..742893b98353c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource14_unresolvedRequireDestructuring.js @@ -37,7 +37,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js index 82e76cedbe49f..cb0cbad765a26 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js index 1ffe047cc2713..1efaf372d5f9b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource16_callbackParamDifferentFile.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js index c0a029f6c52b9..591aa57d2d672 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource17_AddsFileToProject.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js index 72adb3bdba7a2..9fe98a6710462 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource18_reusedFromDifferentFolder.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../lib.d.ts' ../../../lib.decorators.legacy.d.ts @@ -175,7 +175,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js index 7dfa63852f87a..ac356be307a82 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource1_localJsBesideDts.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js index 6473d1139795f..ba77e83c313b0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -119,7 +119,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js index 7232cb3bbca9d..4462955fef4da 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js index b191fd67145b7..d8a19d75484ad 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource5_sameAsGoToDef1.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -117,7 +117,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -138,7 +138,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js index a483723901cea..8dc4559a45f2b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js index 1cf7967299c6d..c7d9e6fb07e7f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js index 216c583ccafc8..6dd92ff44e9fd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -206,7 +206,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js index a49947f513f4a..b8c72f510f041 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -207,7 +207,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/implementation01.js b/tests/baselines/reference/tsserver/fourslashServer/implementation01.js index 71ec0b5dcb835..a965f33352c0c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/implementation01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/implementation01.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js index 19dda188d5f8d..da20caab57ab2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js +++ b/tests/baselines/reference/tsserver/fourslashServer/impliedNodeFormat.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js index 7ee8257af3594..8e7db67c562a2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] Files (8) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -153,7 +153,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js index 4c140938503ed..cdaa16ab7fd89 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -254,7 +254,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -730,7 +730,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js index 85285d42db94c..2bf217cd35967 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js index 9d54f35ec1d6c..cf0473a965aae 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js index 3bd3379e8ad48..44c37f5c5dd71 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js index 824ee81493013..baa47fbdaace5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_ambient.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js index 790ef7dab4fe6..a9c776db2d4e7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_coreNodeModules.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js index 5fc4ddc22e42f..b8c5cf5d8f64d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_exportUndefined.js @@ -126,7 +126,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js index f5dc1866e74ee..b96519ac26b3b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_invalidPackageJson.js @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js index d99174d5b2dcf..ad23bacea912a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js index 6750a9dab68be..eb9fc1cf0c030 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossGlobalProjects.js @@ -191,7 +191,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -517,7 +517,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -571,7 +571,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js index c7409fdf53072..d84dc65279462 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/isDefinitionAcrossModuleProjects.js @@ -234,7 +234,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -599,7 +599,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -656,7 +656,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -1890,7 +1890,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js index cfe787c053534..1dfa7e9b9a7e5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js index 17b88a3bcc2ed..b6d1526d24463 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js index 26c0e229ebde5..cb4013e7f29e9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js index 3fc6592c5ecf8..f62294b09c164 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js index f4fdb0d2f545e..2e8c0a13cea01 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js @@ -93,7 +93,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js index 61a2d9f69692e..792042cc7d412 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js index a263a3e67d43c..3bca78f92007e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js @@ -63,7 +63,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js index 43d6cd530ad0e..4bac7d3c6593a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js index 4359c1c70f86c..1d417f7d8a3cb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js @@ -57,7 +57,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js index 09fb6efc419c2..f815e37f883e8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js index d44daac83dc46..4d522afca52db 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js index 756b471d7c920..686ea91d6d2d5 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js index a802426f87246..c8a7758724eb4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js index 97c04a5e46f08..e426688e95ad4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/navbar01.js b/tests/baselines/reference/tsserver/fourslashServer/navbar01.js index 77b591ff5e6fe..fe30b6311cf20 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navbar01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navbar01.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/navto01.js b/tests/baselines/reference/tsserver/fourslashServer/navto01.js index 6fb8070e40b51..a26661ed0c165 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto01.js @@ -61,7 +61,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js index afc26637ee501..b769ec8008751 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -136,7 +136,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js index b0e95873175b1..459d0340c0139 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -136,7 +136,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js index b4ca6189f2158..b032639c14df3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js index 30bb5610af89f..b939f1181f84e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js @@ -86,7 +86,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js index 7a893d08a00b6..77535b2cc4d6e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js @@ -123,9 +123,27 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tests/cases/fourslash/server/tsconfig.json", "diagnostics": [ { - "text": "File '/lib.es2020.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'es2020'", + "text": "File '/lib.es2020.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2020'", "code": 6053, - "category": "error" + "category": "error", + "relatedInformation": [ + { + "span": { + "start": { + "line": 5, + "offset": 17 + }, + "end": { + "line": 5, + "offset": 25 + }, + "file": "/tests/cases/fourslash/server/tsconfig.json" + }, + "message": "File is default library for target specified here.", + "category": "message", + "code": 1426 + } + ] }, { "text": "Cannot find global type 'Array'.", @@ -203,7 +221,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js index 4c9107a6496af..de0bd8d602df1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextPathCompletions.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../lib.d.ts' ../../lib.decorators.legacy.d.ts @@ -202,7 +202,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/lib.esnext.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'esnext'", + "text": "File '/lib.esnext.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'ESNext'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js b/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js index 95031b4aa9aae..51751e80ea8c4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nonJsDeclarationFilePathCompletions.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js b/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js index 47566b74c4ff3..3ffc113f8a1d6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js b/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js index cfde66d99aeea..8a589b5a712ac 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/openFile.js b/tests/baselines/reference/tsserver/fourslashServer/openFile.js index da24b4bd78400..59fd3f608f6f4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFile.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js index 91432a86309dc..59dae066a63be 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js @@ -54,7 +54,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -146,7 +146,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js index 1fb90bbc74897..6e8b6484ab8ae 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_blankTargetFile.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js index bef391dfab032..1475b905d47a0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports1.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (7) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js index 7c84068e8d401..e73120db19e10 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_existingImports2.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] Files (8) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js index 50791a30d155f..ba69894ed0512 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_knownSourceFile.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js index c5dfc949fa58c..9f220c67dd4ab 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes1.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js index 4220fcf05728e..0fce4e989a453 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes2.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js index dba4c86e74436..cfbbd29ffa03b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes3.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js index 8f4c307eb1372..c77730a5c36de 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_multiplePastes4.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js index e26bb6787148f..aeaecc11bf038 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteComments.js @@ -62,7 +62,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js index 0c71ccbe495c4..3715fffaeb1b0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_pasteIntoSameFile.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js index 3386cebb96943..399e30e1fbb39 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_revertUpdatedFile.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (6) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js index 05a2c3289ac56..12c3c5b376421 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/pasteEdits_unknownSourceFile.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js index 3c08c48a9a2e9..c4de6ec9069c0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -201,7 +201,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -222,7 +222,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -392,7 +392,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -417,7 +417,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -593,7 +593,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js index 8eaaebf2c00ff..fa748f63b1ac1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js @@ -76,7 +76,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js index 80f34b28ed869..6701a1c9094b4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js index a8aa79e962d56..7779bdac70908 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js @@ -60,7 +60,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js index 89b716a0151db..853d7e827100e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js @@ -59,7 +59,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js b/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js index f4dec18a9b6a3..7c38cb9acbc72 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/references01.js b/tests/baselines/reference/tsserver/fourslashServer/references01.js index 0255383c3d300..359c521ea5487 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/references01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/references01.js @@ -43,7 +43,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts @@ -134,7 +134,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js index 32301fc27b82f..e22a08ff438f0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInConfiguredProject.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (5) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js index f5095d9e30e36..9bc34e9468d92 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js index eecf1eb04e3fd..a0c03f9708b71 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFileWithMultipleProjects.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -328,7 +328,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js index c6765c06f8b28..160f343c939a9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInStringLiteralValueWithMultipleProjects.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -349,7 +349,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js b/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js index e97043c70e41d..66805a9071319 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js b/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js index 73c2f6d33d068..0c7260a57a285 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/rename01.js b/tests/baselines/reference/tsserver/fourslashServer/rename01.js index 1b9ed3b8cb983..e1e1d4db45ecd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rename01.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js b/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js index a01b8bbe70686..702dd35a036f2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameInConfiguredProject.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js index fe7e5134b1c24..faf71fadb9bd6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamedImport.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -307,7 +307,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js index 9c5dcc28511dc..6f05d39ce8021 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js +++ b/tests/baselines/reference/tsserver/fourslashServer/renameNamespaceImport.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -114,7 +114,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts @@ -307,7 +307,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib.decorators.d.ts Library referenced via 'decorators' from file '../lib.d.ts' ../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js b/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js index 51c10f80f66fe..11021afc79f8d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js b/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js index 16d2e06db7dcc..cd56985d3898a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js b/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js index 05d495554723c..5bf9c5bc48865 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js index 12a9fef7d0c8f..4dda2d7d83a88 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tripleSlashReferenceResolutionMode.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/lib.esnext.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'esnext'", + "text": "File '/lib.esnext.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'ESNext'", "code": 6053, "category": "error" }, @@ -177,7 +177,7 @@ Info seq [hh:mm:ss:mss] Files (4) lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' lib.decorators.d.ts Library referenced via 'decorators' from file 'lib.d.ts' lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js index 267e8e94b4c04..c5e6fff180ddf 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts @@ -156,7 +156,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js index a557344d8e84e..ca7d2e8e10f4e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js @@ -47,7 +47,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js b/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js index e6cafc2662cdb..2c044dc26d618 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js @@ -49,7 +49,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js index 48e4e2976d7f8..2576f65fe6bcf 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../../lib.decorators.d.ts Library referenced via 'decorators' from file '../../../../lib.d.ts' ../../../../lib.decorators.legacy.d.ts diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js index 137c3afe2b501..9f53be0418086 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-file-moved-to-inferred-project.js @@ -120,7 +120,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -246,7 +246,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js index a5a23da157faf..9bb9769e01c48 100644 --- a/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js +++ b/tests/baselines/reference/tsserver/getEditsForFileRename/works-with-multiple-projects.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -324,7 +324,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js index ad8e21f46a6be..9b4b7b5ded14c 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/array-destructuring-declaration.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js index cc72838a08493..95f35381d0a11 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/const-variable-declaration.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js index 4f4a83f545fcd..4514220dddff0 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/nested-object-declaration.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js b/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js index 0291b0bc8e109..1a46cdde04694 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js +++ b/tests/baselines/reference/tsserver/getExportReferences/object-declaration-references-that-renames-destructured-property.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js b/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js index 0bdc63a8616f9..1b08f698b6171 100644 --- a/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js +++ b/tests/baselines/reference/tsserver/getExportReferences/object-destructuring-declaration.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js b/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js index e12c84d7e7708..4254e730bfc86 100644 --- a/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js +++ b/tests/baselines/reference/tsserver/getFileReferences/should-get-file-references.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js b/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js index 6f4736d0be90b..0176bc7a87167 100644 --- a/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js +++ b/tests/baselines/reference/tsserver/getFileReferences/should-skip-lineText-from-file-references.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js index ceb9170f1acb7..2ad8c5b77d3dd 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-js-files-when-moving-non-jsx-content-from-jsx-file.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] event: "category": "error" }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js index 4c4bfafe37ecc..dd4f2848ca6d1 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/should-show-ts-files-when-moving-non-tsx-content-from-tsx-file.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js index 3695104487bec..fb7fba63d3314 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/skips-lib.d.ts-files.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js index ff861a0b6eb60..5f6cd188cb5e4 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.js-file-for-a-.js-filepath.js @@ -165,7 +165,7 @@ Info seq [hh:mm:ss:mss] event: "category": "error" }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js index 250b0f105f2a7..966c2c77372d8 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/suggests-only-.ts-file-for-a-.ts-filepath.js @@ -176,7 +176,7 @@ Info seq [hh:mm:ss:mss] event: "category": "error" }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js index eeca496dc8f70..d459862030349 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js @@ -162,7 +162,7 @@ Info seq [hh:mm:ss:mss] event: "category": "error" }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS.js b/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS.js index 3afcd19c3042f..2994da0d1b838 100644 --- a/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS.js +++ b/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS.js @@ -115,8 +115,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es2018", - "module": "commonjs", + "target": "ES2018", + "module": "CommonJS", "strict": true, "esModuleInterop": true, "rootDir": "", @@ -149,9 +149,27 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/packages/babel-loader/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.es2018.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'es2018'", + "text": "File '/a/lib/lib.es2018.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2018'", "code": 6053, - "category": "error" + "category": "error", + "relatedInformation": [ + { + "span": { + "start": { + "line": 4, + "offset": 19 + }, + "end": { + "line": 4, + "offset": 27 + }, + "file": "/packages/babel-loader/tsconfig.json" + }, + "message": "File is default library for target specified here.", + "category": "message", + "code": 1426 + } + ] }, { "text": "Cannot find global type 'Array'.", diff --git a/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS2.js b/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS2.js index dbf74e4c0154e..8d02a05893f27 100644 --- a/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS2.js +++ b/tests/baselines/reference/tsserver/goToDefinition/does-not-issue-errors-on-jsdoc-in-TS2.js @@ -121,8 +121,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es2018", - "module": "commonjs", + "target": "ES2018", + "module": "CommonJS", "strict": true, "esModuleInterop": true, "rootDir": "", @@ -155,9 +155,27 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/packages/babel-loader/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.es2018.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'es2018'", + "text": "File '/a/lib/lib.es2018.full.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2018'", "code": 6053, - "category": "error" + "category": "error", + "relatedInformation": [ + { + "span": { + "start": { + "line": 4, + "offset": 19 + }, + "end": { + "line": 4, + "offset": 27 + }, + "file": "/packages/babel-loader/tsconfig.json" + }, + "message": "File is default library for target specified here.", + "category": "message", + "code": 1426 + } + ] }, { "text": "Cannot find global type 'Array'.", diff --git a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js index c355fee68d3cd..47acc30d4f995 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js +++ b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' module.d.ts Imported via "./module" from file 'app.ts' app.ts diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js index a077b1d171303..4b5b6f353bf69 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' @@ -154,7 +154,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' jsFile1.js Root file specified for compilation @@ -485,7 +485,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' jsFile2.js Root file specified for compilation @@ -687,7 +687,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' jsFile1.js Root file specified for compilation @@ -862,7 +862,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js b/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js index 353b6aafba233..417926d0a0671 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a/b/main.ts Root file specified for compilation @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] Files (3) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a/b/main.ts Root file specified for compilation user/username/projects/myproject/a/c/main.ts @@ -213,7 +213,7 @@ Info seq [hh:mm:ss:mss] Files (4) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a/b/main.ts Root file specified for compilation user/username/projects/myproject/a/c/main.ts @@ -427,7 +427,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es6" + "target": "ES2015" }, "typeAcquisition": { "enable": false, @@ -456,27 +456,9 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'es6'", + "text": "File '/a/lib/lib.es6.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES2015'", "code": 6053, - "category": "error", - "relatedInformation": [ - { - "span": { - "start": { - "line": 3, - "offset": 35 - }, - "end": { - "line": 3, - "offset": 40 - }, - "file": "/user/username/projects/myproject/a/b/tsconfig.json" - }, - "message": "File is default library for target specified here.", - "category": "message", - "code": 1426 - } - ] + "category": "error" }, { "text": "Cannot find global type 'Array'.", @@ -548,7 +530,7 @@ Info seq [hh:mm:ss:mss] Files (3) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a/c/main.ts Root file specified for compilation user/username/projects/myproject/a/d/main.ts diff --git a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js index b5dd99818b058..c2b85e21dca94 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js +++ b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js @@ -81,7 +81,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' module2.d.ts Imported via "./module2" from file 'module.d.ts' node_modules/module3/index.d.ts @@ -300,7 +300,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' module2.d.ts Imported via "./module2" from file 'module.d.ts' node_modules/module3/index.d.ts diff --git a/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js b/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js index ab01c091795f9..e92580560bc36 100644 --- a/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js +++ b/tests/baselines/reference/tsserver/inlayHints/with-updateOpen-request-does-not-corrupt-documents.js @@ -76,7 +76,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' commonFile1.ts diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js index d664a6c2d6f42..f1eecbd458669 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 5cd1c1d96fca9..4995ced7ed9ce 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index 7f223c9e1b342..56f18111ba915 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 0e653bdc3a0f4..deace377eb466 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-completions-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js index bc08a4c619286..958313a76aebf 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js index be31473e606a4..c56ae74b6b4de 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-a-string-for-a-working-link-in-a-tag.js @@ -151,7 +151,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 6bbe1a8ab23d9..59899117bac4e 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js index e323bd4b86f4c..cad55a868b6b5 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js @@ -151,7 +151,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index 59c5263244a25..ae6f290a4f63b 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js index 4176b9be676da..5db2459fdc186 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-a-string-for-a-working-link-in-a-tag.js @@ -151,7 +151,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js index e0372d71ad612..4b11373064c01 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js index 8997f9eb08526..77a8117985a44 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-quickinfo-full,-should-provide-display-parts-plus-a-span-for-a-working-link-in-a-tag.js @@ -151,7 +151,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js index adf24b8bebdd7..08f51ef7957df 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 05820676f1e52..09b652d730a87 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js index b1773c677c840..34f36c7b34a94 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-a-string-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js index 483bb2b42809c..55719d4af0cac 100644 --- a/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js +++ b/tests/baselines/reference/tsserver/jsdocTag/for-signature-help-full,-should-provide-display-parts-for-a-working-link-in-a-comment.js @@ -152,7 +152,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js b/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js index 97ead38b71ddd..d25066b2e2134 100644 --- a/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js +++ b/tests/baselines/reference/tsserver/languageService/should-support-multiple-projects-with-the-same-file-under-differing-paths-settings.js @@ -146,7 +146,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/project/a/tsconfig.json", "diagnostics": [ { - "text": "File '/project/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/project/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -358,7 +358,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/project/b/tsconfig.json", "diagnostics": [ { - "text": "File '/project/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/project/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js b/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js index 14c8b7f28823c..7857cabffc94f 100644 --- a/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js +++ b/tests/baselines/reference/tsserver/languageService/should-work-correctly-on-case-sensitive-file-systems.js @@ -28,7 +28,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../Lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js index 07d13dee96823..50e835623783f 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js @@ -444,8 +444,8 @@ Info seq [hh:mm:ss:mss] event: "" ], "lib": [ - "es5", - "dom" + "ES5", + "DOM" ], "traceResolution": true }, diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config.js b/tests/baselines/reference/tsserver/libraryResolution/with-config.js index cabdcdf6abf74..c80715941dafb 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config.js @@ -439,8 +439,8 @@ Info seq [hh:mm:ss:mss] event: "" ], "lib": [ - "es5", - "dom" + "ES5", + "DOM" ], "traceResolution": true }, diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js index 9a1834f7f2be8..6553cf745bf42 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] Files (5) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/project1/src/node_modules/minimatch/index.js Imported via "minimatch" from file 'user/username/projects/project1/src/node_modules/glob/index.js' Imported via 'minimatch' from file 'user/username/projects/project1/src/file1.js' diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js index bf21702c9178e..361ebb5d60ef0 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-return-to-normal-state-when-all-js-root-files-are-removed-from-project.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/file1.ts Root file specified for compilation @@ -101,7 +101,7 @@ Info seq [hh:mm:ss:mss] Files (3) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/file1.ts Root file specified for compilation a/file2.js diff --git a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js index 18b32d7d5b428..fc3073f8ccc3a 100644 --- a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js +++ b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-array.js @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js index 8d0d6a1fb4d2d..d336dd9ee102d 100644 --- a/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js +++ b/tests/baselines/reference/tsserver/metadataInResponse/can-pass-through-metadata-when-the-command-returns-object.js @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js b/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js index 0b37f51f5ad35..8602188f6b1c7 100644 --- a/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js +++ b/tests/baselines/reference/tsserver/metadataInResponse/returns-undefined-correctly.js @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js index 61fd420bfb5dd..1ff267e6f0fbf 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js +++ b/tests/baselines/reference/tsserver/moduleResolution/alternateResult.js @@ -391,7 +391,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/foo2/index.d.ts Imported via "foo2" from file 'index.mts' with packageId 'foo2/index.d.ts@1.0.0' node_modules/@types/bar2/index.d.ts @@ -433,7 +433,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "moduleResolution": "node16", + "moduleResolution": "Node16", "traceResolution": true, "incremental": true, "strict": true, @@ -2154,7 +2154,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/@types/bar/index.d.ts Imported via "bar" from file 'index.mts' with packageId '@types/bar/index.d.ts@1.0.0' node_modules/foo2/index.d.ts @@ -2475,7 +2475,7 @@ Info seq [hh:mm:ss:mss] Files (6) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/foo/index.d.ts Imported via "foo" from file 'index.mts' with packageId 'foo/index.d.ts@1.0.0' node_modules/@types/bar/index.d.ts @@ -2866,7 +2866,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/foo/index.d.ts Imported via "foo" from file 'index.mts' with packageId 'foo/index.d.ts@1.0.0' node_modules/@types/bar/index.d.ts @@ -3243,7 +3243,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/foo/index.d.ts Imported via "foo" from file 'index.mts' with packageId 'foo/index.d.ts@1.0.0' node_modules/@types/bar/index.d.ts diff --git a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js index f94bb6b8dcc64..9731fe355cdd1 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js +++ b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js @@ -111,7 +111,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' fileB.mts Imported via "./fileB.mjs" from file 'fileA.ts' Matched by default include pattern '**/*' @@ -154,8 +154,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es2016", - "module": "node16", + "target": "ES2016", + "module": "Node16", "outDir": "", "traceResolution": true }, diff --git a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js index 2f8e09fc3f60e..f49f802fd18de 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js +++ b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js @@ -110,7 +110,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' fileB.mts Imported via "./fileB.mjs" from file 'fileA.ts' Matched by default include pattern '**/*' @@ -153,8 +153,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es2016", - "module": "node16", + "target": "ES2016", + "module": "Node16", "outDir": "", "traceResolution": true }, diff --git a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js index 571cd73700431..6fa66be9eefc7 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js +++ b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js @@ -162,7 +162,7 @@ export * from "./subfolder"; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/subfolder/index.ts": { "original": { @@ -172,7 +172,7 @@ export * from "./subfolder"; }, "version": "-11228512861-export const FOO = \"bar\";", "signature": "-8746013027-export declare const FOO = \"bar\";\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "../src/index.ts": { "original": { @@ -182,7 +182,7 @@ export * from "./subfolder"; }, "version": "-16576232793-export * from \"./subfolder\";", "signature": "-14439737455-export * from \"./subfolder\";\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -259,7 +259,7 @@ export {}; "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../package-a/build/subfolder/index.d.ts": { "original": { @@ -268,7 +268,7 @@ export {}; }, "version": "-8746013027-export declare const FOO = \"bar\";\n", "signature": "-8746013027-export declare const FOO = \"bar\";\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "../../package-a/build/index.d.ts": { "original": { @@ -277,7 +277,7 @@ export {}; }, "version": "-14439737455-export * from \"./subfolder\";\n", "signature": "-14439737455-export * from \"./subfolder\";\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" }, "../src/index.ts": { "original": { @@ -287,7 +287,7 @@ export {}; }, "version": "-5331409584-import { FOO } from \"package-a\";\nconsole.log(FOO);\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "impliedFormat": "ESNext" } }, "root": [ @@ -577,13 +577,13 @@ Info seq [hh:mm:ss:mss] event: "declarationMap": true, "esModuleInterop": true, "lib": [ - "es2021" + "ES2021" ], - "module": "esnext", - "moduleResolution": "bundler", + "module": "ESNext", + "moduleResolution": "Bundler", "outDir": "", "rootDir": "", - "target": "es2021", + "target": "ES2021", "traceResolution": true, "tsBuildInfoFile": "" }, diff --git a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js index 95ab6a3ca9803..7fb824d72b594 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js +++ b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js @@ -370,13 +370,13 @@ Info seq [hh:mm:ss:mss] event: "declarationMap": true, "esModuleInterop": true, "lib": [ - "es2021" + "ES2021" ], - "module": "esnext", - "moduleResolution": "bundler", + "module": "ESNext", + "moduleResolution": "Bundler", "outDir": "", "rootDir": "", - "target": "es2021", + "target": "ES2021", "traceResolution": true, "tsBuildInfoFile": "" }, diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js index d3a68cd9dc8a9..0c3c71c7f3852 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-importability-within-a-file.js @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js index 8f5275900c7bd..1f36a2a95d3c9 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/caches-module-specifiers-within-a-file.js @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js index 84e8b0e2000ae..e4d5f4a55de96 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/does-not-invalidate-the-cache-when-new-files-are-added.js @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js index 687fbd3ecb16a..a33455857354f 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js index bfc7d77029b2a..6ebcf5bd37dac 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-local-packageJson-changes.js @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js index d779b8e0d733d..9390bc52755c7 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-module-resolution-settings-change.js @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -1070,7 +1070,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js index 7d56256143ece..66f0923be79db 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-symlinks-are-added-or-removed.js @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js index 9c1b14433192d..801277e6be7de 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-the-cache-when-user-preferences-change.js @@ -169,7 +169,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js index 2c3cd063224d8..fc87191af4637 100644 --- a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js +++ b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js @@ -146,7 +146,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -454,7 +454,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js index a464771108631..3933fa96efe31 100644 --- a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js +++ b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js @@ -133,7 +133,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -335,7 +335,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js b/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js index cc980de546e2d..68e04fa830d94 100644 --- a/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js +++ b/tests/baselines/reference/tsserver/navTo/should-not-include-type-symbols.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.js Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js b/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js index 56263fb6dfe2b..829d2b2a3b4ab 100644 --- a/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js +++ b/tests/baselines/reference/tsserver/navTo/should-work-with-Deprecated.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.js Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js b/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js index ec8f33d6e9730..fd5d1385291c9 100644 --- a/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js +++ b/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js b/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js index 086705b6b1c4b..f9c9d18c229a7 100644 --- a/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/different-content-refreshes-sourceFile.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js b/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js index fb007e26898ec..8e518d1a55041 100644 --- a/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/does-not-refresh-sourceFile.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js index 54ff8e618e53e..0858c179e93c3 100644 --- a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js +++ b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-does-not-refresh-sourceFile-if-contents-match.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js index 26a9cefc8ae5e..fdce5b268a371 100644 --- a/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js +++ b/tests/baselines/reference/tsserver/openfile/edits-on-file-and-then-close-refreshes-sourceFile.js @@ -69,7 +69,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' b.ts diff --git a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js index aaba87bb868cd..cec1ced23b5b7 100644 --- a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js +++ b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-insensitive-system.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js index f5f07859cd8ff..69db8cfaf43a9 100644 --- a/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js +++ b/tests/baselines/reference/tsserver/openfile/project-root-is-used-with-case-sensitive-system.js @@ -119,7 +119,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -575,7 +575,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js index ebcb5e21ae8e0..4f8cc13b47238 100644 --- a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js +++ b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/a.ts Matched by default include pattern '**/*' @@ -227,7 +227,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/a.ts Matched by default include pattern '**/*' src/b.ts diff --git a/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js b/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js index e4a85b3605fa0..d5aa03cee239c 100644 --- a/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js +++ b/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js b/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js index 1e6e8fa6b6000..cfd5403bc9e5f 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a.ts Root file specified for compilation @@ -146,7 +146,7 @@ Info seq [hh:mm:ss:mss] Files (3) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a.ts Root file specified for compilation user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js index 2b01e31406000..b2e915522ce48 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a.ts Root file specified for compilation @@ -147,7 +147,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/c.ts Root file specified for compilation @@ -207,7 +207,7 @@ Info seq [hh:mm:ss:mss] Files (3) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/c.ts Root file specified for compilation user/username/projects/myproject/b.ts diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js index 2c13d66addb2f..751abf9a4b106 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-create-autoImportProvider-or-handle-package-jsons.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js index 9370817bd8e0c..119f661c90db1 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js index a0369708cf737..5c72c768aee3b 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js index e900b0e0cbc33..01067868ba172 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js b/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js index 090c74e4620ff..5d987bf3d00ea 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js @@ -39,7 +39,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js b/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js index 9ca5509e61f5c..b5f981da2f52d 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' user/username/projects/myproject/a.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js b/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js index 5f0a2b2a5a1be..5418c31f10762 100644 --- a/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js +++ b/tests/baselines/reference/tsserver/pasteEdits/adds-paste-edits.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/target.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js b/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js index 10687f14d8f2a..3ba750c1fbaeb 100644 --- a/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js +++ b/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js @@ -88,7 +88,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js b/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js index 53101bf7bee38..c1332b5649edf 100644 --- a/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js +++ b/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js @@ -95,7 +95,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by include pattern '*.ts' in 'tsconfig.json' d.ts @@ -263,7 +263,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by include pattern '*.ts' in 'tsconfig.json' d.ts diff --git a/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js b/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js index 834fc3ec40a74..f5d4289ac3fd0 100644 --- a/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js +++ b/tests/baselines/reference/tsserver/plugins/when-plugins-use-LS-to-get-program-and-update-is-pending.js @@ -85,7 +85,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' b.ts Referenced via './b.ts' from file 'a.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js b/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js index bafb624f640f6..2aa7ac1f015f6 100644 --- a/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js +++ b/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js @@ -93,7 +93,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by include pattern '*.ts' in 'tsconfig.json' b.vue diff --git a/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js b/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js index 41da29c2514c6..ab5eb15a9d6a6 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/adds-external-files.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^memfs:/foo.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js b/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js index b2ab2133206be..0c8675dc606b3 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/plugins-are-not-loaded-immediately.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^memfs:/foo.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js b/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js index dfcfc5300f5ae..a304c26244dd5 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/plugins-evaluation-in-correct-order-even-if-imports-resolve-out-of-order.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^memfs:/foo.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js b/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js index ac1dacc1de349..7ebe4d727e3fd 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/project-is-closed-before-plugins-are-loaded.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^memfs:/foo.ts Root file specified for compilation @@ -145,7 +145,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' foo2.ts Root file specified for compilation @@ -158,7 +158,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^memfs:/foo.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js b/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js index 52c9a2bae5920..ccc6f3ffcf5ee 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js b/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js index 6cf4c3cd3d210..a62a322f99c78 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/sends-projectsUpdatedInBackground-event.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ^memfs:/foo.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js index 0512ec59dda63..3192046e1b612 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js index fee990919579d..00103473a01f4 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js index b8977ac1ec501..b11b1715445bb 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js index 269f9c8bda823..9b0c00645c0b3 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Part of 'files' list in tsconfig.json @@ -172,7 +172,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' test.ts Root file specified for compilation @@ -354,7 +354,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' test2.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js index 8a26568fa45a9..03ad20ff76041 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js @@ -70,7 +70,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Part of 'files' list in tsconfig.json @@ -145,7 +145,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' test.ts Root file specified for compilation @@ -298,7 +298,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' test2.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js index ac3e6716e022e..26ce6f0aabd2f 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js index 7103d91be3237..d0000a7665aad 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Part of 'files' list in tsconfig.json diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js index dae00919e5ea9..c85417bda64d5 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-1.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -372,7 +372,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js index 7692d6e6bad05..52a14399d59d9 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-corrupted-config-2.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -344,7 +344,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js index f0798d319cab8..f50a1c563e523 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js +++ b/tests/baselines/reference/tsserver/projectErrors/configured-projects---diagnostics-for-missing-files.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Part of 'files' list in tsconfig.json @@ -288,7 +288,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Part of 'files' list in tsconfig.json applib.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js index 4b60c8bd07bd4..7a400723b0aa0 100644 --- a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js +++ b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/@custom/plugin/proposed.d.ts Imported via './proposed' from file 'node_modules/@custom/plugin/index.d.ts' node_modules/@custom/plugin/index.d.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js b/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js index 60716d87dc896..c956459a4a2cd 100644 --- a/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js +++ b/tests/baselines/reference/tsserver/projectErrors/diagnostics-after-noUnusedLabels-changes.js @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -266,7 +266,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js b/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js index 1b9952bf85d8b..39db30079f670 100644 --- a/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js +++ b/tests/baselines/reference/tsserver/projectErrors/document-is-not-contained-in-project.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js b/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js index 2d896e0165a3f..57aae264fc120 100644 --- a/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js +++ b/tests/baselines/reference/tsserver/projectErrors/external-project---diagnostics-for-missing-files.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Root file specified for compilation @@ -215,7 +215,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' applib.ts Root file specified for compilation @@ -317,7 +317,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' applib.ts Root file specified for compilation app.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js b/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js index af1878ba9d207..d62bf2b5314b8 100644 --- a/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js +++ b/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/a.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' src/b.ts @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/a.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' @@ -340,7 +340,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' c.ts Root file specified for compilation @@ -510,7 +510,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/a.ts Matched by include pattern 'src/**/*.ts' in 'tsconfig.json' src/c.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js index 0735f49cea05c..a6c66b42d1426 100644 --- a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "none" + "module": "None" }, "typeAcquisition": { "enable": false, @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/projects/myproject/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectErrors/for-external-project.js b/tests/baselines/reference/tsserver/projectErrors/for-external-project.js index dba0cf1c8a841..efb926deb9417 100644 --- a/tests/baselines/reference/tsserver/projectErrors/for-external-project.js +++ b/tests/baselines/reference/tsserver/projectErrors/for-external-project.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js b/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js index 6ddff920d0b2e..f2771f79316bc 100644 --- a/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js +++ b/tests/baselines/reference/tsserver/projectErrors/for-inferred-project.js @@ -38,7 +38,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js index 9b34c951b72b8..5b998c865e9ee 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/main.ts Matched by default include pattern '**/*' @@ -854,7 +854,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/@angular/core/index.d.ts Imported via '@angular/core' from file 'src/main.ts' src/main.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js index 49e7740c2fb85..260e0cd1e1aff 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/main.ts Matched by default include pattern '**/*' @@ -896,7 +896,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/@angular/core/index.d.ts Imported via '@angular/core' from file 'src/main.ts' src/main.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js index d7bcc39e10973..5dd02b95cbc81 100644 --- a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js +++ b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js @@ -55,7 +55,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/client/app.js Root file specified for compilation @@ -304,7 +304,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/client/app.js Root file specified for compilation src/server/utilities.js @@ -792,7 +792,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/client/app.js Root file specified for compilation @@ -909,7 +909,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/client/app.js Root file specified for compilation src/server/utilities.js diff --git a/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js b/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js index d01d0b0a605c8..f726d3acdf147 100644 --- a/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js @@ -93,7 +93,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/blabla.json Imported via "./blabla.json" from file 'src/test.ts' Matched by include pattern './src/*.json' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js b/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js index 5835200e327d4..305b269869729 100644 --- a/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js @@ -91,7 +91,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/blabla.json Imported via "./blabla.json" from file 'src/test.ts' src/test.ts diff --git a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js index 70fb4577399b7..882f9fac427de 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js @@ -50,7 +50,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' untitled:Untitled-1 Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js index 4fb5bdb324f22..6da6490280344 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' untitled:Untitled-1 Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectErrors/when-options-change.js b/tests/baselines/reference/tsserver/projectErrors/when-options-change.js index 27f751c140ed6..b193938bb66da 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-options-change.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-options-change.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js index f87870a7dbbfa..64c037860444f 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ui.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js index 6e8fd62d0f3ee..2a19a6e566526 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ui.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js index 1ba9a5dd1abd0..d945dfbbb5a41 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ui.ts Matched by default include pattern '**/*' 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 7b0e6134bf6de..dc5187117313d 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 @@ -105,7 +105,7 @@ declare namespace Hmi { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./Source.ts": { "original": { @@ -113,7 +113,7 @@ declare namespace Hmi { "impliedFormat": 1 }, "version": "-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -174,7 +174,7 @@ declare namespace Hmi { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../buttonClass/Source.d.ts": { "original": { @@ -182,7 +182,7 @@ declare namespace Hmi { "impliedFormat": 1 }, "version": "6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./Source.ts": { "original": { @@ -190,7 +190,7 @@ declare namespace Hmi { "impliedFormat": 1 }, "version": "-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -282,7 +282,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../buttonClass/Source.ts Source from referenced project '../buttonClass/tsconfig.json' included because '--outFile' specified Source.ts @@ -322,7 +322,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "none", + "module": "None", "composite": true, "outFile": "" }, diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js index da7448c8f0aa2..a1350ce4e5b4e 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js index 5de9cb5063b7d..a11ebbbf5f118 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js index eb5e73cb53c2a..6e8a39bddfe9a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js index fb5c42e5c41d6..9a8bd23343cb0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js index 8bc2270cab8d1..ef3cfb81726fd 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js index 1f2841d3467f3..dab791cca6956 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js index 37af36988a2d4..bbaf0ed503a05 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js index 2d2e88eaa4465..12bc7ea53249c 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js index 952fc1aa9b3de..d2d05681414d9 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js index 7ba44f582a640..5fc70713ab114 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js index fcae4e0ff414d..f705934222a49 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js index b963bf3353abc..ad4410397b750 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js index 891d8ae2d4b1a..3665704055d0e 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js index 177cc5fb18a05..abecb40d3f917 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js index 65514e8043b0e..4f87fe4509b32 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js index 26889046af6be..53fb0cfce28e6 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js index 93e6288c6d01b..4d84e77ed26db 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js index dbd4e0e2295ce..d324472a1f9b3 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js index b2b72522153bf..55e069125b972 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js index c7502afcfdfa6..0ac590c0ba014 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js index ba7bddd6a4310..21b243cd9b9f2 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js index 839688d6710dd..06ddbe5d5c118 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js index 92e781880ce82..8afb65739749e 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js index ca3bc7c836da6..c713194e78928 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js index 404c0f72a34b4..7c95751a0c8d4 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js index 632297879b98a..fd589d6280b71 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js index 163d09cf3efb0..fc2f6706dde14 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js index 13f064b71b51f..cad7380f27da7 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js index e4f4d5301e0b5..f8454e4859250 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js index 6214504c47e60..a9e9d817d09c1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js index 72b2e7f0ab6ef..be70f28cb8c28 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js index da4f1f75378d5..1ec9eb1eda8d3 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js index bffc2ff1bfbea..6a815a172af3e 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js index 65975e638e82c..8e9b6662fbe18 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js index ab796d91a08c5..eb2ca2bbb2647 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js index 86ad6f3032d0a..f00ad81fd7ec6 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js index d2f5e2aa2b4e4..98a42af97d609 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js index 5c8a09d14b41e..07aeae081ae45 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js index 17d37b834c291..4f90d1f249d76 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js index a89449d1a168c..e0f13a7dc740e 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js index 1534c27795f9f..188b997d9779c 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js index 91312b3e7297b..e90f7592a3fb7 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js index 16f7fd0f669da..9128d6abdc8e2 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js index 4df848ecf7a23..73aab85a4fae9 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js index 49d32b577426b..7518fba39ed7e 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js b/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js index 9ebcabbce9303..58c5602896091 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '../a/index.js' from file 'index.ts' index.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js index 77bed7b044a3e..6ecfe2c0ccd07 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js index a87faf5e570d7..bc6ba7a08c374 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js index 7272d87a916b4..d7cd84160402b 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js index 075e656321999..d21961478065d 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js index 8a48b813051dc..9a58ff7840bea 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js index 5b846245463da..5d5ce31397c2d 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Imported via '../decls/fns' from file 'usage.ts' usage.ts @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js index 2ec3500cc6cc7..5cfb739ad53aa 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js index 16947440d553d..98e85c9664878 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js index 34f5278ca23b6..c35458ee39e92 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js index 3451d275b14a9..4e2412b532f25 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -288,7 +288,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js index 47ad1ac9a31e7..3bfd5d1c88a4c 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -288,7 +288,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js index 1eef495b8678a..c9290ef45d048 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/fns.ts Source from referenced project '../dependency/tsconfig.json' included because '--outFile' specified usage.ts @@ -288,7 +288,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' fns.ts Matched by default include pattern '**/*' 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 643160e9b5a17..0503f0f17f375 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 @@ -131,7 +131,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/index.ts": { "original": { @@ -139,7 +139,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-14968179652-namespace container {\n export const myConst = 30;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -207,7 +207,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib.d.ts": { "original": { @@ -215,7 +215,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../compositeexec/index.ts": { "original": { @@ -223,7 +223,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -314,7 +314,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -477,7 +477,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' temp.ts Root file specified for compilation @@ -602,7 +602,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Part of 'files' list in tsconfig.json @@ -813,7 +813,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -1625,7 +1625,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -1659,7 +1659,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Part of 'files' list in tsconfig.json @@ -1679,7 +1679,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts 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 30a72a13eabda..2c0feb0092c61 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 @@ -98,7 +98,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/library/index.ts": { "original": { @@ -108,7 +108,7 @@ export declare function foo(): void; }, "version": "3524703962-export function foo() {}", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -154,7 +154,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/bld/library/index.d.ts": { "original": { @@ -163,7 +163,7 @@ export declare function foo(): void; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/program/bar.ts": { "original": { @@ -172,7 +172,7 @@ export declare function foo(): void; }, "version": "-9677035610-import {foo} from \"shared\";", "signature": "-9677035610-import {foo} from \"shared\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/program/index.ts": { "original": { @@ -183,7 +183,7 @@ export declare function foo(): void; "version": "193491849-foo", "signature": "193491849-foo", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -334,7 +334,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../shared/bld/library/index.d.ts Imported via "shared" from file 'bar.ts' with packageId 'shared/bld/library/index.d.ts@1.0.0' bar.ts 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 0be7decd55c35..06e8f9b049866 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 @@ -97,7 +97,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/library/index.ts": { "original": { @@ -107,7 +107,7 @@ export declare function foo(): void; }, "version": "3524703962-export function foo() {}", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -153,7 +153,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../../shared/bld/library/index.d.ts": { "original": { @@ -162,7 +162,7 @@ export declare function foo(): void; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/program/bar.ts": { "original": { @@ -171,7 +171,7 @@ export declare function foo(): void; }, "version": "-9677035610-import {foo} from \"shared\";", "signature": "-9677035610-import {foo} from \"shared\";", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../src/program/index.ts": { "original": { @@ -182,7 +182,7 @@ export declare function foo(): void; "version": "193491849-foo", "signature": "193491849-foo", "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -332,7 +332,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../shared/src/library/index.ts Imported via "shared" from file 'bar.ts' with packageId 'shared/bld/library/index.d.ts@1.0.0' bar.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js index d4ccd6ac792f5..1bbe5b9a9b871 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js @@ -161,7 +161,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../../shared/src/library/index.ts Imported via "shared" from file 'bar.ts' with packageId 'shared/bld/library/index.d.ts@1.0.0' bar.ts 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 e35eca7601810..c07dff7aea098 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 @@ -128,7 +128,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/index.ts": { "original": { @@ -136,7 +136,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-14968179652-namespace container {\n export const myConst = 30;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -204,7 +204,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib.d.ts": { "original": { @@ -212,7 +212,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../compositeexec/index.ts": { "original": { @@ -220,7 +220,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -311,7 +311,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -487,7 +487,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Part of 'files' list in tsconfig.json @@ -698,7 +698,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js index 97b7b09278a08..285fb562ffec6 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js @@ -332,7 +332,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -503,7 +503,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -802,7 +802,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1063,7 +1063,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1336,7 +1336,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1392,7 +1392,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index 0a2c232d1b556..85bd59d8e4223 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -288,7 +288,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -467,7 +467,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -781,7 +781,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1033,7 +1033,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1297,7 +1297,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1354,7 +1354,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index 2aefdeae19e26..770053289a6be 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -246,7 +246,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Root file specified for compilation @@ -351,7 +351,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -660,7 +660,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Root file specified for compilation @@ -861,7 +861,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Root file specified for compilation @@ -1079,7 +1079,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -1108,7 +1108,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Root file specified for compilation 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 d7bf25412e5fe..ec8c2c5c5050a 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 @@ -128,7 +128,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../lib/index.ts": { "original": { @@ -136,7 +136,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-14968179652-namespace container {\n export const myConst = 30;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -204,7 +204,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./lib.d.ts": { "original": { @@ -212,7 +212,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../compositeexec/index.ts": { "original": { @@ -220,7 +220,7 @@ declare namespace container { "impliedFormat": 1 }, "version": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -322,7 +322,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Part of 'files' list in tsconfig.json @@ -436,7 +436,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts @@ -552,7 +552,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../lib/index.ts Source from referenced project '../lib/tsconfig.json' included because '--outFile' specified index.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index b9b83378bf036..e672722f5e14f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -420,7 +420,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 6e18d582e2df7..0ad5d52af6d01 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -207,7 +207,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -432,7 +432,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index e1d96c2290cb5..be156184f2734 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -416,7 +416,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 37c840d9a09e8..305c29b82f6d1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -206,7 +206,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -428,7 +428,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index b88dbfd231c46..d8a2eeb9cfcf9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -420,7 +420,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index fb496cd74a7a6..99a4b4ea5a01d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -207,7 +207,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -432,7 +432,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index 4a06de7f14506..0d34c3f6be68c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -416,7 +416,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 2bffa1464364e..c0a9b341a28e9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -206,7 +206,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -428,7 +428,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index a4eae6250543f..9873c45d14c93 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 1a67a2c7df83c..ff8cb5fb95059 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -207,7 +207,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index e392f8a79e9c3..f9355f38c51e0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 2d41cdc855f46..9fa1b34e14cc0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -206,7 +206,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index e4cec4f85d581..411b11d721d38 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 88262b15cdca7..2cb661a649662 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -207,7 +207,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -437,7 +437,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index e22ef30f9c12e..6b158cf284a37 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -194,7 +194,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -420,7 +420,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 9e427724798ee..2ec45c1720c75 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -206,7 +206,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -432,7 +432,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/user/username/projects/myproject/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js index fe43c88aa3f59..97feb22320431 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js @@ -130,7 +130,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' types.ts Part of 'files' list in tsconfig.json program.ts @@ -171,7 +171,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "none" + "module": "None" }, "typeAcquisition": { "enable": false, @@ -480,7 +480,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../compiler/types.ts Source from referenced project '../compiler/tsconfig.json' included because '--module' is specified as 'none' ../compiler/program.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js index 9861c3a02f896..799e77daa3b49 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Source from referenced project '../a/tsconfig.json' included because '--module' is specified as 'none' Imported via "../a" from file 'index.ts' @@ -388,7 +388,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Part of 'files' list in tsconfig.json @@ -427,7 +427,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "none" + "module": "None" }, "typeAcquisition": { "enable": false, @@ -636,7 +636,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via "../a" from file 'index.ts' Imported via "../a" from file '../b/index.ts' @@ -753,7 +753,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via "../a" from file 'index.ts' Imported via "../a" from file '../c/index.ts' diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js index a51c683a5c1f9..2a835553a99f7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js @@ -108,7 +108,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar.ts": { "original": { @@ -118,7 +118,7 @@ export declare function foo(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -128,7 +128,7 @@ export declare function foo(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -193,7 +193,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/b/lib/index.d.ts": { "original": { @@ -202,7 +202,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/b/lib/bar.d.ts": { "original": { @@ -211,7 +211,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -221,7 +221,7 @@ export {}; }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -345,7 +345,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js index 9652c1720c238..3731f17e553b0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js @@ -106,7 +106,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar.ts": { "original": { @@ -116,7 +116,7 @@ export declare function foo(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -126,7 +126,7 @@ export declare function foo(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -191,7 +191,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/index.d.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/bar.d.ts": { "original": { @@ -209,7 +209,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -219,7 +219,7 @@ export {}; }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -341,7 +341,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js index cf308fad2496e..e5ddd9ca44c9a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js @@ -163,7 +163,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js index 59e6c1d6c689f..c13a08c2ef64d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js @@ -159,7 +159,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/index.ts Imported via 'b' from file 'src/index.ts' ../B/src/bar.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 76c4e843ea61d..fc04602303a12 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -108,7 +108,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar.ts": { "original": { @@ -118,7 +118,7 @@ export declare function foo(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -128,7 +128,7 @@ export declare function foo(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -193,7 +193,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/@issue/b/lib/index.d.ts": { "original": { @@ -202,7 +202,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/@issue/b/lib/bar.d.ts": { "original": { @@ -211,7 +211,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -221,7 +221,7 @@ export {}; }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -345,7 +345,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js index 0a6bb8a9e7a03..536e36c01d354 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js @@ -106,7 +106,7 @@ export declare function foo(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar.ts": { "original": { @@ -116,7 +116,7 @@ export declare function foo(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -126,7 +126,7 @@ export declare function foo(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -191,7 +191,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/index.d.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/bar.d.ts": { "original": { @@ -209,7 +209,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/index.ts": { "original": { @@ -219,7 +219,7 @@ export {}; }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -341,7 +341,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 1de95f3800f1f..efa3090b34098 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -163,7 +163,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js index 659779488fda1..ce4ea22c544e5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js @@ -159,7 +159,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/index.ts Imported via '@issue/b' from file 'src/index.ts' ../B/src/bar.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js index a7095f188229f..db6c888a8a4d8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js @@ -105,7 +105,7 @@ export declare function bar(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/foo.ts": { "original": { @@ -115,7 +115,7 @@ export declare function bar(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar/foo.ts": { "original": { @@ -125,7 +125,7 @@ export declare function bar(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -190,7 +190,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/b/lib/foo.d.ts": { "original": { @@ -199,7 +199,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/b/lib/bar/foo.d.ts": { "original": { @@ -208,7 +208,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -218,7 +218,7 @@ export {}; }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -341,7 +341,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js index b469828ef168b..dd3b82723645c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js @@ -103,7 +103,7 @@ export declare function bar(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/foo.ts": { "original": { @@ -113,7 +113,7 @@ export declare function bar(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar/foo.ts": { "original": { @@ -123,7 +123,7 @@ export declare function bar(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -188,7 +188,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/foo.d.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/bar/foo.d.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -216,7 +216,7 @@ export {}; }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -337,7 +337,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js index 2d26bf3fd19ab..908b85739b399 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js @@ -159,7 +159,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js index ee7a638528446..250fd83ae1380 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js @@ -155,7 +155,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/foo.ts Imported via 'b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 473e6b5faad9e..534d930a869e0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -105,7 +105,7 @@ export declare function bar(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/foo.ts": { "original": { @@ -115,7 +115,7 @@ export declare function bar(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar/foo.ts": { "original": { @@ -125,7 +125,7 @@ export declare function bar(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -190,7 +190,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/@issue/b/lib/foo.d.ts": { "original": { @@ -199,7 +199,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../../node_modules/@issue/b/lib/bar/foo.d.ts": { "original": { @@ -208,7 +208,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -218,7 +218,7 @@ export {}; }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -341,7 +341,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js index 55125398b5b85..a100fe83126f6 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js @@ -103,7 +103,7 @@ export declare function bar(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/foo.ts": { "original": { @@ -113,7 +113,7 @@ export declare function bar(): void; }, "version": "4646078106-export function foo() { }", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/bar/foo.ts": { "original": { @@ -123,7 +123,7 @@ export declare function bar(): void; }, "version": "1045484683-export function bar() { }", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -188,7 +188,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/foo.d.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "version": "-5677608893-export declare function foo(): void;\n", "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../b/lib/bar/foo.d.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "version": "-2904461644-export declare function bar(): void;\n", "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./src/test.ts": { "original": { @@ -216,7 +216,7 @@ export {}; }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -337,7 +337,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 32dade80ed317..44a2135dc6dd0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -159,7 +159,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js index b1d62156a5eed..d9b099d7d596d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js @@ -155,7 +155,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../B/src/foo.ts Imported via '@issue/b/lib/foo' from file 'src/test.ts' ../B/src/bar/foo.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js index 764ed1dd7d6d1..58e19d601a665 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -163,7 +163,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "none", + "module": "None", "composite": true, "disableSourceOfProjectReferenceRedirect": true }, @@ -454,7 +454,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts @@ -624,7 +624,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -761,7 +761,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js index cbe80ad77e290..efaa5338b4c1b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -161,7 +161,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "none", + "module": "None", "composite": true }, "typeAcquisition": { @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js index 3359dbaa0faee..76629a064b42f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -163,7 +163,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "none", + "module": "None", "composite": true, "disableSourceOfProjectReferenceRedirect": true }, @@ -294,7 +294,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' class1.ts Matched by default include pattern '**/*' @@ -332,7 +332,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "none", + "module": "None", "composite": true }, "typeAcquisition": { @@ -525,7 +525,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' class1.ts Matched by default include pattern '**/*' class3.ts @@ -716,7 +716,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts @@ -927,7 +927,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -1092,7 +1092,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.d.ts Output from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.d.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js index 75a7dfba3ebba..ba4abed8ade24 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' class2.ts @@ -161,7 +161,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "none", + "module": "None", "composite": true }, "typeAcquisition": { @@ -292,7 +292,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' class1.ts Matched by default include pattern '**/*' @@ -330,7 +330,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "none", + "module": "None", "composite": true }, "typeAcquisition": { @@ -478,7 +478,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/class1.ts Source from referenced project '../project1/tsconfig.json' included because '--module' is specified as 'none' ../project1/class3.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' class1.ts Matched by default include pattern '**/*' class3.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js index 155d86345f50b..adf778f01d262 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js @@ -243,7 +243,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -493,7 +493,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -782,7 +782,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -998,7 +998,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1524,7 +1524,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Root file specified for compilation @@ -1979,7 +1979,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -2182,7 +2182,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2441,7 +2441,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2498,7 +2498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -3054,7 +3054,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -3147,7 +3147,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3174,7 +3174,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -3431,7 +3431,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js index 8910fd9c1ffd1..e43915a47b9b8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js @@ -330,7 +330,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -584,7 +584,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -883,7 +883,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1143,7 +1143,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1701,7 +1701,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Root file specified for compilation @@ -2164,7 +2164,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -2371,7 +2371,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2672,7 +2672,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2729,7 +2729,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -2877,7 +2877,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -2983,7 +2983,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3719,7 +3719,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -3812,7 +3812,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3838,7 +3838,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3867,7 +3867,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3897,7 +3897,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -4240,7 +4240,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4305,7 +4305,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4366,7 +4366,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js b/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js index 60ff517739c01..a3f53f57bb830 100644 --- a/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../utils/index.ts Imported via "../utils" from file 'index.ts' index.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js b/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js index 8029b33b46841..9e06e0db82fce 100644 --- a/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js @@ -150,7 +150,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dist/compositeb/b.d.ts Imported via "@ref/compositeb/b" from file 'a.ts' a.ts @@ -389,7 +389,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../compositeb/b.ts Imported via "@ref/compositeb/b" from file 'c.ts' c.ts 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 e3d3dc87e56a9..2500677780c39 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 @@ -128,7 +128,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/common/input/keyboard.ts": { "original": { @@ -138,7 +138,7 @@ export {}; }, "version": "-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }", "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/common/input/keyboard.test.ts": { "original": { @@ -148,7 +148,7 @@ export {}; }, "version": "-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -222,7 +222,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./input/keyboard.d.ts": { "original": { @@ -231,7 +231,7 @@ export {}; }, "version": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/terminal.ts": { "original": { @@ -241,7 +241,7 @@ export {}; }, "version": "-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./input/keyboard.test.d.ts": { "original": { @@ -250,7 +250,7 @@ export {}; }, "version": "-3531856636-export {};\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -369,7 +369,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' input/keyboard.ts Imported via 'common/input/keyboard' from file 'input/keyboard.test.ts' Matched by include pattern './**/*' in 'tsconfig.json' @@ -598,7 +598,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../out/input/keyboard.d.ts Imported via 'common/input/keyboard' from file 'terminal.ts' Matched by include pattern './**/*' in 'tsconfig.json' 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 234a49b0725c1..eb000317e222e 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 @@ -128,7 +128,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/common/input/keyboard.ts": { "original": { @@ -138,7 +138,7 @@ export {}; }, "version": "-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }", "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/common/input/keyboard.test.ts": { "original": { @@ -148,7 +148,7 @@ export {}; }, "version": "-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -222,7 +222,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./input/keyboard.d.ts": { "original": { @@ -231,7 +231,7 @@ export {}; }, "version": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../src/terminal.ts": { "original": { @@ -241,7 +241,7 @@ export {}; }, "version": "-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./input/keyboard.test.d.ts": { "original": { @@ -250,7 +250,7 @@ export {}; }, "version": "-3531856636-export {};\n", "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -369,7 +369,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' input/keyboard.ts Imported via 'common/input/keyboard' from file 'input/keyboard.test.ts' Matched by include pattern './**/*' in 'tsconfig.json' @@ -596,7 +596,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' common/input/keyboard.ts Imported via 'common/input/keyboard' from file 'terminal.ts' Imported via 'common/input/keyboard' from file 'common/input/keyboard.test.ts' diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js index 1384af654eb97..6ffa681a09038 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js @@ -270,7 +270,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -374,7 +374,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -564,7 +564,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -900,7 +900,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -933,7 +933,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1184,7 +1184,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1244,7 +1244,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1508,7 +1508,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1575,7 +1575,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1631,7 +1631,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index 457b4a6ae23d4..6296682f2fe04 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -223,7 +223,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -329,7 +329,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -519,7 +519,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -854,7 +854,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -886,7 +886,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1117,7 +1117,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1179,7 +1179,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1422,7 +1422,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1492,7 +1492,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1548,7 +1548,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index 6b544db0aa10b..ecf30368aa8b7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -181,7 +181,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -349,7 +349,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -624,7 +624,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -814,7 +814,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1011,7 +1011,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1063,7 +1063,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js index 10992771a2981..3cbe2fceb6c7d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js @@ -179,7 +179,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -281,7 +281,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -542,7 +542,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -849,7 +849,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -877,7 +877,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1071,7 +1071,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1129,7 +1129,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2047,7 +2047,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -2405,7 +2405,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -2470,7 +2470,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2527,7 +2527,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -3162,7 +3162,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -3244,7 +3244,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3272,7 +3272,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -3299,7 +3299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -3537,7 +3537,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3595,7 +3595,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js index 6f426b5d32b24..cbe53f264daf4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js @@ -268,7 +268,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -372,7 +372,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -645,7 +645,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -981,7 +981,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1014,7 +1014,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1264,7 +1264,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -1324,7 +1324,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -1889,7 +1889,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/main.ts Imported via 'main' from file 'indirect1/main.ts' indirect1/main.ts @@ -2171,7 +2171,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -2415,7 +2415,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -2829,7 +2829,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -2896,7 +2896,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -2953,7 +2953,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -3108,7 +3108,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -3219,7 +3219,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4003,7 +4003,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../target/src/helpers/functions.d.ts Imported via 'helpers/functions' from file '../target/src/main.d.ts' ../target/src/main.d.ts @@ -4086,7 +4086,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4117,7 +4117,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4143,7 +4143,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4172,7 +4172,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4202,7 +4202,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' dummy.ts Root file specified for compilation @@ -4532,7 +4532,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4592,7 +4592,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' Matched by include pattern './src/**/*' in 'tsconfig-src.json' @@ -4662,7 +4662,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts @@ -4732,7 +4732,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/helpers/functions.ts Imported via 'helpers/functions' from file 'src/main.ts' src/main.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js index 9e3dfc15ed015..d2d35583c7ca4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js @@ -166,7 +166,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -367,7 +367,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -592,7 +592,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js index b9707445934d1..e9e1e712e35ab 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js @@ -167,7 +167,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -368,7 +368,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/index.ts Matched by include pattern 'src' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js index bf88f6db3c1a4..f75acdfd3be5f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js @@ -166,7 +166,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -367,7 +367,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -592,7 +592,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js index 63e73ae041905..6fc5fbdc70f10 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js @@ -168,7 +168,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -369,7 +369,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -594,7 +594,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js index 80bc54b0f9b45..fe826176fe96b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js @@ -166,7 +166,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/server.ts' src/server.ts @@ -367,7 +367,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/index.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -592,7 +592,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/index.ts Imported via "../../shared/dist" from file 'src/app.ts' src/app.ts diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js index 491919a9c77c0..465209f1355a6 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation @@ -505,7 +505,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -579,7 +579,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -884,7 +884,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js index d9018f2ef8409..0fdf43ae8373a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation @@ -645,7 +645,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -719,7 +719,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js index 78a8ae374d024..4382e00eca148 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation @@ -393,7 +393,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -467,7 +467,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js index 5b259b72d227f..e3344f562bd18 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation @@ -420,7 +420,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -494,7 +494,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js index 08940ee55aac5..0f22dbb26b6c2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation @@ -468,7 +468,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -542,7 +542,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -898,7 +898,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js index 75b1ef84e49c1..7ddffb58bcfcb 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation @@ -379,7 +379,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -455,7 +455,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js index e62b9720f20cc..0a09fcc65a548 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation @@ -422,7 +422,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -496,7 +496,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -802,7 +802,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js index 7c4153c45cdfb..3fce67d8de5f7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation @@ -492,7 +492,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -566,7 +566,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js index 779bdb9fc70bc..dabc6693fa526 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation @@ -433,7 +433,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -507,7 +507,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -813,7 +813,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js index a1d32fa7212fd..27747fc067c59 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' @@ -233,7 +233,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component-demos.ts Root file specified for compilation @@ -503,7 +503,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -577,7 +577,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' Component.ts Matched by include pattern '**/*' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js index 68472156ac605..21d609cc56a7e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js @@ -465,7 +465,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' @@ -674,7 +674,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' @@ -906,7 +906,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' @@ -1005,7 +1005,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' @@ -1104,7 +1104,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' @@ -1204,7 +1204,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' @@ -1304,7 +1304,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' @@ -1403,7 +1403,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js index 10ef3bf02adb9..8935e28753b88 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js @@ -165,7 +165,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../emit-composite/src/testModule.js Imported via './testModule' from file '../emit-composite/src/index.js' ../emit-composite/src/index.js diff --git a/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js b/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js index 6c6764c81124c..b94fd9cd38dc4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js +++ b/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js @@ -132,7 +132,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' types.ts Part of 'files' list in tsconfig.json program.ts @@ -173,7 +173,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "composite": true, - "module": "none", + "module": "None", "disableSolutionSearching": true }, "typeAcquisition": { diff --git a/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js b/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js index 6f2e26b3eafc8..ec09c79affb21 100644 --- a/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js +++ b/tests/baselines/reference/tsserver/projectReferences/with-dts-file-next-to-ts-file.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/index.ts Matched by include pattern 'src/*.d.ts' in 'tsconfig.json' @@ -208,7 +208,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/index.ts Matched by include pattern 'src/**/*' in 'tsconfig.node.json' @@ -294,7 +294,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.d.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index a01fc39a347d1..9d2fa719ba444 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index 50de469c591ec..2ebcc98467c5a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index 3edb8505a2bde..5f584eab3b477 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index 9eb3286eb0d31..6d09d5656d9c9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 adea6f09dfcdd..6076d0962f749 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 9f5fa9191a32b..0f03f1a9a4921 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 f3c4fb0a49d9e..30090f98a1233 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 @@ -99,7 +99,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -109,7 +109,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -173,7 +173,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -182,7 +182,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -443,7 +443,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1579,7 +1579,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 8889d32c96d9c..2b8a4fbb2076b 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1519,7 +1519,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 d87617b40a46e..2f4b312bcd4ef 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 @@ -99,7 +99,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -109,7 +109,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -173,7 +173,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -182,7 +182,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -271,7 +271,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -443,7 +443,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1318,7 +1318,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index 135ec1cc71a3a..f7be0102b30df 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index ebf62c901e562..6dbc1e8de795c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index dfeaec5c70c7d..2a90a7059b5c2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index d22c52434f105..cc825f659ccba 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index 622a8cb1de393..6d6e37cf61b4d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index 7e34d86b92d1f..b1f692587fabd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 4d1ce47125d0c..22ff2259cba85 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 404398c1f079f..f06c9498de469 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 bc101440eaaf3..bad3eaad7f35e 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 e289042beb9f0..e74943d809b74 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 286282bc027e9..b6d64a195925f 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 @@ -104,7 +104,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -276,7 +276,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -448,7 +448,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1617,7 +1617,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 be6d1d28ef323..7a943c65659a3 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1533,7 +1533,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 62d8ebb4c73c5..4a9aeb7a793cf 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 @@ -104,7 +104,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -276,7 +276,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -448,7 +448,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1374,7 +1374,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 34a80c5d2021b..8f36167f042cf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index df11859484efb..2b6c4da2e5faa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index e89d208bc7807..2b848c81db4ae 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index d00aa8e4cc69d..1c421a62f0056 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 498d673d48a9b..9f83983adba16 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1410,7 +1410,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 3e7d8a58da721..455edade4f633 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 bb1a67d363fd8..2014163db0778 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -279,7 +279,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js index 3d34049031d86..a5bedfe97dfc2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js index bacb2654ac06c..514bd82f8bc0a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index a7c6e51a68d03..b75435ac5604e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index 7f97988c72ac8..95c79eb8e0c19 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 906cb8c2c93aa..0cae6d21c9051 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 41eb0adfeb222..0fb9c60cbda39 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 265951e41b82d..4660dc7253829 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 @@ -104,7 +104,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -276,7 +276,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -448,7 +448,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1584,7 +1584,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 feb44c26f267c..e56272acda900 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1524,7 +1524,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 e20857f2a2f52..a9be3838bdefa 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 @@ -104,7 +104,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -276,7 +276,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -448,7 +448,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1323,7 +1323,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index b3923fcfc76f6..5d89833a88210 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index 3ce7113202cbc..05137cfe348be 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 039af2bfb7a78..79a5dddb073a4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index f1de005f41cb0..4a64fa760f057 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index e414463fb4398..5dc6e36feae52 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index df44769ff23f5..929ce0084ecfe 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 64b3c5ff58fe0..b6793722c89d6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index fecf3fa57f57d..dfd9bbae58798 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 24e7e0f203db2..42beaefd108b7 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 6e3700d8cc79b..316ac5096483c 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 81affbc209c30..e0a4177712bd3 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 @@ -109,7 +109,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -119,7 +119,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -183,7 +183,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -202,7 +202,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -281,7 +281,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -453,7 +453,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1622,7 +1622,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 e92fe0b79132c..0b7162679649c 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1538,7 +1538,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 6079c4ce9e0ff..9445f5fae27b2 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 @@ -109,7 +109,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -119,7 +119,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -183,7 +183,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -202,7 +202,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -281,7 +281,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -453,7 +453,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1379,7 +1379,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 7bad82c60ea43..59c76f6d0350d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 7a6217aabc7fe..4d39bac3bf1e1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index c589dd5f718aa..7badda4adf384 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 23559480b16bf..cc41071127a6c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 98e14c31b8090..d1444dd4c7eb6 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 145585f2bcde2..70517175cb9d6 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 10f3fb78d67b3..d5749eba04da3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1415,7 +1415,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 8b03a9c953360..92e1b199fff7a 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 99903da76f1ac..f82559ca07c62 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -284,7 +284,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js index 02a2967119a9c..cb4a228933da3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -293,7 +293,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1168,7 +1168,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index 5a6db1878df57..a0961d5fe300e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index bd9ad852cea81..af7d7b29a355d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index 6bb163abd9ac8..38f44c3d82339 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index 963003f716539..607434b0d0003 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 2d2ad3c94a0da..84cd420379cd8 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 ba68441f76a59..7abb9eeff9176 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 c727b76ab2050..57afddfff4cf6 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 @@ -105,7 +105,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -115,7 +115,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -179,7 +179,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -188,7 +188,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -277,7 +277,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -449,7 +449,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1585,7 +1585,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 f4daea7b16f10..e16569fcc5a7c 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1525,7 +1525,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 9560cefcd1d77..9be02d433bf1d 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 @@ -105,7 +105,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -115,7 +115,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -179,7 +179,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -188,7 +188,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -277,7 +277,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -449,7 +449,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1324,7 +1324,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index 41f25bd42cdd8..5d4220a5363be 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index 576c52f9bc076..193f8ca772571 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index c7ee3ebba9223..0c8da6d578f85 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index 631f3d7d15fad..fb5cc86d7e7a9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index ed623f6932c7d..513941a207859 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index 5c25e4ce440a6..61dffc0cc63bb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index c129a2921a601..28567f73abcd7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index 12745efa8e8e0..a775b8a57e73a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 8ffa2fdab8013..e7123a4513bb0 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 a411d1f1523a2..122474723fb08 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 e58a96198a0f8..1ce4ff54229cb 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 @@ -110,7 +110,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -120,7 +120,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -184,7 +184,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -193,7 +193,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -282,7 +282,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -454,7 +454,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1623,7 +1623,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 0eeeba0b54422..65d957485fa2c 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1539,7 +1539,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 1f993e6101cd9..9191e04641da6 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 @@ -110,7 +110,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -120,7 +120,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -184,7 +184,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -193,7 +193,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -282,7 +282,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -454,7 +454,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1380,7 +1380,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 1deb9e571765c..c21a15682e4bb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 9ec404eaf6c4a..3ffa113f772e2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 178c40e045bf6..516a77b4afa6b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 6c8726c66b2f3..8eda03fa01d0f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 e1f98c964fb16..14a81bf02f228 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1416,7 +1416,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 c81d3d8cfdaaa..2d0dfcd842865 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 b49929f580530..765492ed4869c 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -285,7 +285,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index 1283dcbb95104..526bafea652df 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1194,7 +1194,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1609,7 +1609,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index 8818b1f109508..599dde0c97d79 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1254,7 +1254,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index 8814e2a929eab..3d2ca829ae980 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1188,7 +1188,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1415,7 +1415,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index 0a4238a45da24..e32721e60bcb0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1248,7 +1248,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 66c35e31d2708..8c38e24d6f902 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 23a800e7fcbc5..099984901fc3b 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 fc554aa36d3ed..f4ade1fe609c5 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 @@ -99,7 +99,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -109,7 +109,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -173,7 +173,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -182,7 +182,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -272,7 +272,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -647,7 +647,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1090,7 +1090,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2625,7 +2625,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2655,7 +2655,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 328c2d05c7c02..b4b5e8c4c4575 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1194,7 +1194,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -2486,7 +2486,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -2513,7 +2513,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 e603200317db3..5216fe1b10693 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 @@ -99,7 +99,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -109,7 +109,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -173,7 +173,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -182,7 +182,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -272,7 +272,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -647,7 +647,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2029,7 +2029,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -2056,7 +2056,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index 288051d353f59..ae3bd52a5fa1f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1194,7 +1194,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1608,7 +1608,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index 7aa6973785cc2..0e6dbd06e8d6b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1253,7 +1253,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 912b7523a693f..3ba7466b38183 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1188,7 +1188,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1414,7 +1414,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index d143ea5d75e9e..e3e0049d5fc07 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1247,7 +1247,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index 53f9e0c511b3c..07eec6c61d603 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index ff2d2180e218c..94123b9fed4e7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 79f5cd4b0abd4..814a9314649f8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index b5667b6d02169..d9287b35d45e0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 34b0e8b4d5f39..9505b3515bc61 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 db06d3e546195..824d1a776484f 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 72f194ca63cad..ea8cd5ccbd413 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 @@ -104,7 +104,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -280,7 +280,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -469,7 +469,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -673,7 +673,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2703,7 +2703,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2733,7 +2733,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 7b9cf69e5002e..3b54e1891fdc6 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2457,7 +2457,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2487,7 +2487,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 310f9e09fb0f0..60710ed36e833 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 @@ -104,7 +104,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -280,7 +280,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -469,7 +469,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -673,7 +673,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2157,7 +2157,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2187,7 +2187,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 86f42a1c4f791..dcbd421ef1c4d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 659e6cbd51372..5ff5d3839e58f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index bfd45d06852ff..48df22cedbd1c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 04c9f4c17e4bd..e569b1559dea1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js index 1328d38b41013..5164e6388c389 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -476,7 +476,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -777,7 +777,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1200,7 +1200,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1602,7 +1602,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 4665e31ee4181..62823ce1a7802 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2376,7 +2376,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2406,7 +2406,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 9b3e37d4527ff..7f867060fa325 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 03a333d09f024..ac713a093b0ff 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -472,7 +472,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -676,7 +676,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js index f9387ec46bac3..e2f2338ce4a20 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js index a0dc25abc15b9..8728205ce8d4f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index 8d60adcae8ca4..fab343f00a211 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index 2434667d60bbf..2a4cf1c549773 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 06cbf60cbc7dc..79eeb9daa2a82 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 87573d0b6405b..2c62457068517 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 635ac1fa9d5fc..02f21da18d7aa 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 @@ -104,7 +104,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -300,7 +300,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -480,7 +480,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -682,7 +682,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2645,7 +2645,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2675,7 +2675,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 bc7b287b969e2..3c92f751bf41b 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2581,7 +2581,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2611,7 +2611,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 a3f83d2f9a3e1..b09feae600921 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 @@ -104,7 +104,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -300,7 +300,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -480,7 +480,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -682,7 +682,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2239,7 +2239,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2269,7 +2269,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index bf4c8e4e78337..003fee707df94 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index d9cf802cddc7b..a7284d0400d95 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 5cf87225745d4..3fd54cbf400c7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index b656feed3f689..b82f0f393cc25 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index 89f89d12c630e..1761ed9e14e64 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index 3523a929ac203..1d38e9ee1e30b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 775af82cd0849..613a8b0a427ef 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 3fedb266b3fa1..cb9623a847d2a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 28491f1bdc4ad..e3839809ab34a 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 813c2b6fa891f..851651e0e0437 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 d59d4516501ac..e0ce9d6df969a 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 @@ -109,7 +109,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -119,7 +119,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -183,7 +183,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -202,7 +202,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -305,7 +305,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -485,7 +485,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -687,7 +687,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2710,7 +2710,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2740,7 +2740,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 79f702a4943fb..15ffb8f6aa308 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2594,7 +2594,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2624,7 +2624,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 00e341e86adcb..1e7230d28fb81 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 @@ -109,7 +109,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -119,7 +119,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -183,7 +183,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -202,7 +202,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -305,7 +305,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -485,7 +485,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -687,7 +687,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2308,7 +2308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2338,7 +2338,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index e8e1aa81597f4..08e8ccb33d211 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 7497fb3acc045..cb0087d8482ea 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 8638c6f5696a8..1737bda185685 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 9e5dab4fde80a..a5fa9c105c863 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 4a081c60fe604..8a839442a0b24 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 1c4ad2a90713e..60b0ecd40ba94 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js index 46883a1e8d924..7bf09fe65242d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -489,7 +489,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -771,7 +771,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1188,7 +1188,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1568,7 +1568,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -3631,7 +3631,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -3873,7 +3873,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -5030,7 +5030,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -5515,7 +5515,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -5553,7 +5553,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 91f38d6bd9690..947afdc509d04 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2350,7 +2350,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2380,7 +2380,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 8e8bed6b7e441..7c558c1623489 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 e3f2c037b8f40..389e9f44cc14f 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js index a2226157863d3..c91a57732b39a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js @@ -145,7 +145,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -325,7 +325,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -527,7 +527,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2084,7 +2084,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2114,7 +2114,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index 3804f64e5ca88..68a8439132641 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1212,7 +1212,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1627,7 +1627,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index 328027e7c6215..a73a90a7b709e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1272,7 +1272,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index e711b44cc02ec..135584fc4b0cb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1206,7 +1206,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1433,7 +1433,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index f2064b9fdab56..1787bdf42f58a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1266,7 +1266,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 864934ffd71ad..3b08cbcb8924f 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 424012656762e..222290fc483e3 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 6ac6c319b0dee..edc8b766d30a3 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 @@ -105,7 +105,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -115,7 +115,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -179,7 +179,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -188,7 +188,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -469,7 +469,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -665,7 +665,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1108,7 +1108,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2629,7 +2629,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2659,7 +2659,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 807e22de1b5c2..df93f2227ed7d 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1212,7 +1212,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -2490,7 +2490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -2517,7 +2517,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 3712dfc7972ea..e7a656c044620 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 @@ -105,7 +105,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -115,7 +115,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -179,7 +179,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -188,7 +188,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -469,7 +469,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -665,7 +665,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2035,7 +2035,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -2062,7 +2062,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index 4bc7465d7d5eb..9b80848492d07 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1212,7 +1212,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1626,7 +1626,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index 309a7737a4f16..02c8bfaa8043f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1271,7 +1271,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 5fd165bc8d2dd..32b4e5f38ad9d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1206,7 +1206,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1432,7 +1432,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index addb62b0272e1..27a3504f272b2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1265,7 +1265,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index beaaf0114d7de..3c85640ddb287 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index aa224ecb0600a..bd655a060e922 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 8ff3f567d748a..2e46bfd32a755 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index c47d836af20cf..e4978472739cb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 50c50f21bca8d..5afd1f829ca0d 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 01e6447328645..ef6a18b9e37d9 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 7a0d3bc6dcba6..247a7a13b522d 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 @@ -110,7 +110,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -120,7 +120,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -184,7 +184,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -193,7 +193,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -307,7 +307,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -487,7 +487,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -691,7 +691,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2707,7 +2707,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2737,7 +2737,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 fee1258d45a92..397e68f047909 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2461,7 +2461,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2491,7 +2491,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 2ecd3ae96263a..2ae6da002a261 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 @@ -110,7 +110,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -120,7 +120,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -184,7 +184,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -193,7 +193,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -307,7 +307,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -487,7 +487,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -691,7 +691,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2163,7 +2163,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2193,7 +2193,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 6a37fe55fa47c..4a22160dcaca2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 5676ad90af2aa..98035804e1580 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 880d2cd7dcddd..7f97ad8bac790 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index b0ad0dfa27719..91199af8981c3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js index 45d0f806427a4..d4b7beb90bb4a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -494,7 +494,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -795,7 +795,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1231,7 +1231,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1633,7 +1633,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 b0c8eda6520e4..a2b2bd7a44b77 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -2380,7 +2380,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -2410,7 +2410,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' 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 14057bf28a5c5..4e44a62c20e8c 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 373dbefdcf3e1..d34c96628daac 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -490,7 +490,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' FnS.ts Matched by default include pattern '**/*' @@ -694,7 +694,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 514527cf2e467..3718e3f6945f0 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1431,7 +1431,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index 1ada9a0067cf5..e404a4bf39946 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -828,7 +828,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1057,7 +1057,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index 03468647bf622..085bdfeadb6fd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -881,7 +881,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index bf61b0b32dedc..a46e99b0fcb90 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -821,7 +821,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -999,7 +999,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index 6e2513a0f603f..2e0cd51675f9a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -874,7 +874,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 d4ff31a255739..d546c2ffb726b 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 3c8ef6ebf4b4b..5598111da0425 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 4429cee52cb2a..70a66a8ec4aa8 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 @@ -99,7 +99,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -109,7 +109,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -173,7 +173,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -182,7 +182,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -272,7 +272,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -445,7 +445,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -677,7 +677,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1492,7 +1492,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 b4b1592e34cec..6b6e8f7f94dcb 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -828,7 +828,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1567,7 +1567,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' 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 9b0cdc7d423cf..5ed27bc55fde7 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 @@ -99,7 +99,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -109,7 +109,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -173,7 +173,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -182,7 +182,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -272,7 +272,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -445,7 +445,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1224,7 +1224,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index 68a93d5e4db28..301969f537edf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -828,7 +828,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1056,7 +1056,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index dce11db515778..8aef51795e7f3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -880,7 +880,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 88aec7edd3bcb..01945507c9c72 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -821,7 +821,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -998,7 +998,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 910a597a6d26f..aebd58736e353 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -873,7 +873,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index c90e74812c83e..0421e0ca58cc0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index adfc75ce4411b..a3bd848d06003 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index c51abd19ef82f..a118f41286222 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index b08650ffcace5..96157430e5ab9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 e0e6811024029..d738c6a87738f 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 59d53b5b2d74f..73160f6496c18 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 bde3c0e4ff87b..6827a1a38d24e 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 @@ -104,7 +104,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -280,7 +280,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -463,7 +463,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1598,7 +1598,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 e36518e1586a5..ba14059d9cd6d 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1549,7 +1549,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 298541ed2c116..4de3e12471a4e 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 @@ -104,7 +104,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -280,7 +280,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -463,7 +463,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1340,7 +1340,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 5887a860a5b9d..5e28f2dfc279b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index d73148de4192b..0e60d765abbdf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 14c36babc5e4e..37785fc9b9835 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index de9566242fb65..ca8b0c310b979 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 b96b3db2dacd0..1a3ed268746d0 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 3b379aa2dd93f..1f552a3e42b4d 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 @@ -107,7 +107,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -117,7 +117,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -181,7 +181,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -190,7 +190,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -200,7 +200,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -283,7 +283,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -466,7 +466,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 bc68606fbca57..2c5ae288ec01a 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1335,7 +1335,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js index 773ee6fe8cd90..1b1b43675b673 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js index 5de5623137090..f1f518666c08d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index 9b98bd342e4e8..a4b295443d344 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index e5f085f03843c..30344a81436e4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 2d73c9841ce5d..f34f1e99dc842 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 067c923dd2a9f..461ed0a5f9e40 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 1366567186f84..d681044c53aab 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 @@ -104,7 +104,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -300,7 +300,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -487,7 +487,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1396,7 +1396,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 a852e8a21dede..bb8ea5fa03b56 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1397,7 +1397,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 d28080aba3c99..413061ab5fa67 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 @@ -104,7 +104,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -114,7 +114,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -178,7 +178,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -187,7 +187,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -197,7 +197,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -300,7 +300,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -487,7 +487,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1327,7 +1327,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index e1a02bbd61ee9..1281492a00912 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index 145311f3e7876..5b43af51ef0ae 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index cdd83ec7e6ba7..f8375e499bf52 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 77f43a362555c..dd5b4e9ca5872 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index 8008d07540305..5f27f1269bb01 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index 54021c21df1c3..d46257937b3e7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 23607e75583a3..de8e34307b145 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 80a10dc816c53..425b498b7ba64 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 1071dfd6ac540..d57e4b9bdee04 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 3a686ff4addd2..5669fdb1726b6 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 c52e52d97c2b8..6c69306092534 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 @@ -109,7 +109,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -119,7 +119,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -183,7 +183,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -202,7 +202,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -305,7 +305,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -492,7 +492,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1389,7 +1389,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 13466138aa7f2..8feaf500ed379 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1390,7 +1390,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 352d9dca04e6d..72485b76a5327 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 @@ -109,7 +109,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -119,7 +119,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -183,7 +183,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -192,7 +192,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -202,7 +202,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -305,7 +305,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -492,7 +492,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1332,7 +1332,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 4aed712259bc7..3690e234d099e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 6d40bc9c2dd81..b4ed539bc3282 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 1570cfb8ca685..e209d371a7e68 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index fd74231fc6fe1..7eb4e1d9716e4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 578d61f717f4a..68e492ffb34dd 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 e10c06c0a98d4..67777ebb653fe 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 245a23b74ca52..0d381357fb1ac 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 a133e5015ad4e..a50c044defbd6 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 @@ -112,7 +112,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -122,7 +122,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -186,7 +186,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -195,7 +195,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -205,7 +205,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js index 16eaf956ff787..c1f60beb60173 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js @@ -145,7 +145,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -332,7 +332,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1172,7 +1172,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../dependency/FnS.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 72bb506f9e8c9..2818712637079 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1487,7 +1487,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index c2123b5b228bb..04bea9eb7d1df 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -868,7 +868,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1101,7 +1101,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index 084feafec9b1d..4feb82a725c11 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -921,7 +921,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index 158b6b15da7bc..f2f7847302b3c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -861,7 +861,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1043,7 +1043,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index a4785e7dc1f29..373984193e37b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -914,7 +914,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 c4a8b67f78fe0..ce82af7d148ca 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 7db26bbeb7512..2ffef8daa122c 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 8ab00e0f6a9b7..e30772968e885 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 @@ -105,7 +105,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -115,7 +115,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -179,7 +179,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -188,7 +188,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -477,7 +477,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -713,7 +713,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -1548,7 +1548,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 1595ad6c4001b..c6fe049a8eaaa 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -868,7 +868,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1627,7 +1627,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' 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 5012e96214b28..f2132359fda6d 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 @@ -105,7 +105,7 @@ function fn5() { } "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -115,7 +115,7 @@ function fn5() { } }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -179,7 +179,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -188,7 +188,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -198,7 +198,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -299,7 +299,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -477,7 +477,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1276,7 +1276,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index d27f0ede39364..28499f9fdd29f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -868,7 +868,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1100,7 +1100,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index 1d9e0a06e5c32..e2fb7cd1fd1ec 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -920,7 +920,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index e7b89b7a4da0e..0ceb414e4efa4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -861,7 +861,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -1042,7 +1042,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index 2ae86aaafa9da..13d1e4f539cea 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -913,7 +913,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index d3441e7c955a0..229454f3e340a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index 07569024b58f9..0c03902d837e3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 576e8ecd300e1..6811152c5207e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index c5ced3caae6fc..d1847e48c4969 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 b134c15c712c9..a9a0a417260a7 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 81eb76b18bc8c..d78b1ee794cf3 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 2bf26ae32126b..3f4765bd9205f 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 @@ -110,7 +110,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -120,7 +120,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -184,7 +184,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -193,7 +193,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -307,7 +307,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1662,7 +1662,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 ab35be7e33fed..d12961b37c73f 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1605,7 +1605,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts 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 fa26c62fd222e..acaf0290f61d2 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 @@ -110,7 +110,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -120,7 +120,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -184,7 +184,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -193,7 +193,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -203,7 +203,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -307,7 +307,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' @@ -1396,7 +1396,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 2eddd3782ca62..c709fc7d08546 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 557069ea6daec..690eb47a0be44 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index a17056be9e85d..fc3641f928109 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 1c2f227222c1c..97e20a69aa7f4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 6fb7c7d429c02..551d04a2be8de 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' 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 acd466b988d2a..5abd8a3e7a10b 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 @@ -113,7 +113,7 @@ export declare function fn5(): void; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./fns.ts": { "original": { @@ -123,7 +123,7 @@ export declare function fn5(): void; }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -187,7 +187,7 @@ export {}; "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface 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, - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "../decls/fns.d.ts": { "original": { @@ -196,7 +196,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" }, "./main.ts": { "original": { @@ -206,7 +206,7 @@ export {}; }, "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", - "impliedFormat": "commonjs" + "impliedFormat": "CommonJS" } }, "root": [ @@ -310,7 +310,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../decls/fns.d.ts Imported via '../decls/fns' from file 'main.ts' main.ts @@ -498,7 +498,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js index d37a76f2384c6..0b8a525469bfc 100644 --- a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -184,7 +184,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/logging.ts Matched by include pattern '../shared/src/**/*.ts' in 'tsconfig.json' ../shared/src/myClass.ts @@ -557,7 +557,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/logging.ts Matched by include pattern '../shared/src/**/*.ts' in 'tsconfig.json' ../shared/src/myClass.ts diff --git a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js index 80c65c47fc2ac..c442ecfb478ed 100644 --- a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js @@ -184,7 +184,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/myClass.ts Imported via ':shared/myClass.js' from file 'src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'tsconfig.json' @@ -557,7 +557,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../shared/src/myClass.ts Imported via ':shared/myClass.js' from file 'src/server.ts' Matched by include pattern '../shared/src/**/*.ts' in 'tsconfig.json' diff --git a/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js b/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js index e1301d424ad2c..9d5d5f7c7b9d7 100644 --- a/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js +++ b/tests/baselines/reference/tsserver/projects/File-in-multiple-projects-at-opened-and-closed-correctly.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/c/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -318,7 +318,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js b/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js index 570fb43589fd4..15acb421f3f82 100644 --- a/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js +++ b/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Part of 'files' list in tsconfig.json src/file2.ts @@ -253,7 +253,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Part of 'files' list in tsconfig.json diff --git a/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js b/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js index 983c06242982a..983c56c509246 100644 --- a/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js +++ b/tests/baselines/reference/tsserver/projects/Properly-handle-Windows-style-outDir.js @@ -124,7 +124,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "C:/a/tsconfig.json", "diagnostics": [ { - "text": "File 'c:/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File 'c:/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js b/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js index 036d88cfb5d6f..fd3618f86765c 100644 --- a/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js +++ b/tests/baselines/reference/tsserver/projects/assert-when-removing-project.js @@ -44,7 +44,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Root file specified for compilation @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' random.ts Root file specified for compilation @@ -144,7 +144,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js b/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js index d7b9f746abec9..a3d4e88226ee3 100644 --- a/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js +++ b/tests/baselines/reference/tsserver/projects/clear-mixed-content-file-after-closing.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Root file specified for compilation lib.html diff --git a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js index 87626bf352830..cbfce8232600c 100644 --- a/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js +++ b/tests/baselines/reference/tsserver/projects/config-file-is-deleted.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js index ebc0356e530b6..8ed0fb19e197b 100644 --- a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js +++ b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context-with-lazyConfiguredProjectsFromExternalProject.js @@ -215,7 +215,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js index a23484716bed4..0744ea1fb830e 100644 --- a/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js +++ b/tests/baselines/reference/tsserver/projects/deferred-files-in-the-project-context.js @@ -192,7 +192,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js index 6bb6998e12000..e477189a3572b 100644 --- a/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js +++ b/tests/baselines/reference/tsserver/projects/does-not-look-beyond-node_modules-folders-for-default-configured-projects.js @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -338,7 +338,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/project/node_modules/@types/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js index 5fe17f8b08784..1401d496c0b62 100644 --- a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' tests.ts Matched by default include pattern '**/*' tsconfig-json/src/src.ts @@ -375,7 +375,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src.ts Matched by include pattern './src' in 'tsconfig.json' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' tests.ts Matched by default include pattern '**/*' tsconfig-json/src/src.ts @@ -619,7 +619,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' spec.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js b/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js index 1c0b8988d8ce6..ecaf7de58d9e5 100644 --- a/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js +++ b/tests/baselines/reference/tsserver/projects/file-with-name-constructor.js-doesnt-cause-issue-with-typeAcquisition-when-safe-type-list.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Files (3) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a/b/f1.js Root file specified for compilation a/b/constructor.js diff --git a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js index 920ae41b4fe49..ca8b1087cf501 100644 --- a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js +++ b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js @@ -78,7 +78,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../files/file1.ts Imported via "../files/file1" from file 'file.ts' file.ts @@ -370,7 +370,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file2.ts Root file specified for compilation @@ -384,7 +384,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../files/file1.ts Imported via "../files/file1" from file 'file.ts' file.ts @@ -521,7 +521,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js b/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js index b4ac9b31f5387..9b7e09e984f38 100644 --- a/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js +++ b/tests/baselines/reference/tsserver/projects/getting-errors-from-closed-script-info-does-not-throw-exception-because-of-getting-project-from-orphan-script-info.js @@ -65,7 +65,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js index f3f8bf70e1a87..6574d3b58204f 100644 --- a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js +++ b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' b.ts Matched by default include pattern '**/*' sub/a.ts @@ -370,7 +370,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' b.ts Matched by default include pattern '**/*' a.ts @@ -551,7 +551,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' b.ts Matched by default include pattern '**/*' @@ -591,7 +591,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Root file specified for compilation @@ -793,7 +793,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' b.ts Matched by default include pattern '**/*' sub/a.ts diff --git a/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js b/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js index a552e2c9f6a5e..d10626beea727 100644 --- a/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js +++ b/tests/baselines/reference/tsserver/projects/handles-the-missing-files-added-with-tripleslash-ref.js @@ -40,7 +40,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Root file specified for compilation @@ -168,7 +168,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile2.ts Referenced via 'commonFile2.ts' from file 'commonFile1.ts' commonFile1.ts diff --git a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js index 1c13b84653ef5..9bb3a70029c76 100644 --- a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js @@ -92,7 +92,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' apps/editor/scripts/createConfigVariable.js Matched by default include pattern '**/*' apps/editor/src/src.js @@ -360,7 +360,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src.js Matched by include pattern './src' in 'tsconfig.json' @@ -444,7 +444,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' apps/editor/scripts/createConfigVariable.js Matched by default include pattern '**/*' apps/editor/src/src.js @@ -495,7 +495,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' createConfigVariable.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js b/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js index af8e5ccd5b3fb..50f743fc40eea 100644 --- a/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js +++ b/tests/baselines/reference/tsserver/projects/loading-files-with-correct-priority.js @@ -167,7 +167,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -322,7 +322,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js b/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js index 24994f2820b5a..74b743fc3dd08 100644 --- a/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js +++ b/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js b/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js index f3457265eda52..2e0f7c2c11d23 100644 --- a/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js +++ b/tests/baselines/reference/tsserver/projects/no-tsconfig-script-block-diagnostic-errors.js @@ -112,7 +112,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.ts Matched by default include pattern '**/*' f2.html @@ -355,7 +355,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.ts Matched by default include pattern '**/*' @@ -587,7 +587,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.ts Matched by default include pattern '**/*' @@ -826,7 +826,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.ts Part of 'files' list in tsconfig.json f2.html @@ -1068,7 +1068,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' f1.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js index 52c300a454a7e..e3efac31e36f2 100644 --- a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' tests.ts Matched by default include pattern '**/*' tsconfig-json/src/src.ts @@ -375,7 +375,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/src.ts Matched by include pattern './src' in 'tsconfig.json' @@ -451,7 +451,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' tests.ts Matched by default include pattern '**/*' tsconfig-json/src/src.ts @@ -621,7 +621,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' spec.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js b/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js index 91fb2728b7b4f..14fd179a30026 100644 --- a/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js +++ b/tests/baselines/reference/tsserver/projects/reload-regular-file-after-closing.js @@ -52,7 +52,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Root file specified for compilation lib.ts diff --git a/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js b/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js index f3142f441d812..c69697fedc5a6 100644 --- a/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js +++ b/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file2.ts Imported via "./file2" from file 'src/file1.ts' Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js b/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js index 65e32f2b63757..6f8dd90b43cc4 100644 --- a/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js +++ b/tests/baselines/reference/tsserver/projects/should-create-new-inferred-projects-for-files-excluded-from-a-configured-project.js @@ -121,7 +121,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -280,7 +280,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -397,7 +397,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js index 889cca98f306d..722d64b9ca05b 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js @@ -93,7 +93,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -277,7 +277,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../A/a.ts Imported via "../A/a" from file 'b.ts' b.ts diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js index a2afce8df50dd..d53621e9fa95a 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' @@ -281,7 +281,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' b2.ts Imported via "../B/b2" from file 'b.ts' Matched by default include pattern '**/*' @@ -700,7 +700,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by include pattern '**/*' in 'tsconfig.json' ../B/b2.ts diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js index 124182fbe6bd5..23a96a390caf1 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js index 5148220ef1b13..4c0cd490b1da0 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js index 9ae98408598ca..d0d4f3d359e13 100644 --- a/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js +++ b/tests/baselines/reference/tsserver/projects/tsconfig-script-block-support.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -277,7 +277,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js index 0ab914bbd776e..cdf97da148ada 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js @@ -204,7 +204,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../core/index.ts Imported via '../core/index' from file 'index.ts' Imported via '../core/index' from file '../logic/index.ts' diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js index 6799241348ef0..3dec6ee4d0cd7 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -404,7 +404,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../refs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' Imported via "@ref/a" from file 'index.ts' @@ -646,7 +646,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js index 5a96295451329..0bc2cc479a899 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js index 34ea6f3ce10b4..d4bb4698ba1e2 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -447,7 +447,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../nrefs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -657,7 +657,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js index d778cad9251ab..e4b5e506905af 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -695,7 +695,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js index ddf0a715d1fda..68d90a627664c 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js @@ -195,7 +195,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js index 536ddb4f152a0..dc80f35407049 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js @@ -192,7 +192,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -410,7 +410,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../refs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' Imported via "@ref/a" from file 'index.ts' @@ -655,7 +655,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js index 5040facd61f83..a33e72c838a0e 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js @@ -192,7 +192,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js index 3f3c2f775de62..fc6da5b18c272 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js @@ -192,7 +192,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -443,7 +443,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../nrefs/a.d.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -650,7 +650,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js index 5a5003025da67..08a00a918a120 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js @@ -192,7 +192,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -452,7 +452,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts @@ -690,7 +690,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js index b27d950f031e5..56f70af55bb66 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js @@ -192,7 +192,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../a/index.ts Imported via '@ref/a' from file '../b/index.ts' ../b/index.ts diff --git a/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js b/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js index 99d028faced09..da04f6d1b22c8 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js +++ b/tests/baselines/reference/tsserver/refactors/handles-canonicalization-of-tsconfig-path.js @@ -110,7 +110,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/Foo/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js b/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js index ec1d362767e22..a35932512600c 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js +++ b/tests/baselines/reference/tsserver/refactors/handles-moving-statement-to-an-existing-file.js @@ -119,7 +119,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/Foo/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js index 7997b8458bbe1..67f76b5c1e1a2 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js +++ b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-TS-file-that-is-not-included-in-the-TS-project.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/Bar/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js index 4b3514be1999f..0d47cceab62f8 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js +++ b/tests/baselines/reference/tsserver/refactors/handles-moving-statements-to-a-non-TS-file.js @@ -113,7 +113,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/Foo/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js b/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js index afdf0b5a2f038..92d0c00d7fa45 100644 --- a/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js +++ b/tests/baselines/reference/tsserver/refactors/handles-text-changes-in-tsconfig.js @@ -110,7 +110,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js b/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js index 7fc20204020ee..93619fce7a089 100644 --- a/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js +++ b/tests/baselines/reference/tsserver/reload/should-work-when-script-info-doesnt-have-any-project-open.js @@ -42,7 +42,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Root file specified for compilation @@ -244,7 +244,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js index 29b2075f536e5..9d519b96f00d5 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file2.ts Imported via "./file2" from file 'file1.ts' Matched by default include pattern '**/*' @@ -314,7 +314,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -504,7 +504,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -695,7 +695,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js index 8dafe398614bf..f9e19d32c5528 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js @@ -139,7 +139,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file2.ts Imported via "./file2" from file 'file1.ts' Matched by default include pattern '**/*' @@ -395,7 +395,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -585,7 +585,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -776,7 +776,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project.js b/tests/baselines/reference/tsserver/reloadProjects/external-project.js index 8979b28b6a7d7..adb1b12fb46a2 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project.js @@ -97,7 +97,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file2.ts Imported via "./file2" from file 'file1.ts' Root file specified for compilation @@ -292,7 +292,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -433,7 +433,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -577,7 +577,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts diff --git a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js index 7797866aa05ad..92ba967066d9b 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js @@ -110,7 +110,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file2.ts Imported via "./file2" from file 'file1.ts' file1.ts @@ -221,7 +221,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -366,7 +366,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file2.ts @@ -513,7 +513,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/module1/index.d.ts Imported via "module1" from file 'file1.ts' file1.ts diff --git a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js index 30cd7ecc377e9..8c39b6f27925e 100644 --- a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js +++ b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js @@ -118,7 +118,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' @@ -413,7 +413,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../project1/index.ts Imported via 'project1' from file 'index.ts' with packageId 'project1/index.ts@1.0.0' index.ts diff --git a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js index fee049338f96d..eb5a7850e9c98 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js +++ b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js @@ -145,7 +145,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/node_modules/module1/index.ts Imported via "module1" from file 'src/file1.ts' node_modules/module2/index.ts diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js index b64ab7b42a014..431709d4205fb 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js @@ -235,7 +235,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' product/node_modules/module1/index.ts Imported via "module1" from file 'product/src/file1.ts' Imported via "module1" from file 'product/src/feature/file2.ts' diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js index fdd3d9fc1be53..3c4a27092f2b1 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js @@ -163,7 +163,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/node_modules/module1/index.ts Imported via "module1" from file 'src/file1.ts' Imported via "module1" from file 'src/file2.ts' diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js index 7c40e509a55a4..886ae8b25da2d 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js @@ -255,7 +255,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../node_modules/module1/index.ts Imported via "module1" from file 'feature/file2.ts' Imported via "module1" from file '../test/file4.ts' diff --git a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js index 933858cf3a245..d31ccc2adb9e8 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js @@ -258,7 +258,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/app/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js index af8115afd925e..afe531d6d229e 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js +++ b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Root file specified for compilation @@ -300,7 +300,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/@types/pad/index.d.ts Imported via "pad" from file 'a.ts' Entry point for implicit type library 'pad' diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js index 07f77e76dc930..77087d90c59d3 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js @@ -204,7 +204,7 @@ Info seq [hh:mm:ss:mss] Files (7) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' product/module2.ts Matched by default include pattern '**/*' Imported via "../module2" from file 'product/src/file1.ts' diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js index 1f193d99f17a0..3c53a4e21fb49 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' module2.ts Matched by default include pattern '**/*' Imported via "../module2" from file 'src/file1.ts' diff --git a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js index 6a41347e026e6..72e4139102bd5 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js +++ b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js @@ -127,7 +127,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js index caf7c0647c513..07a7fae8c0d82 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js @@ -252,7 +252,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/app/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js b/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js index dbe49defc5d7c..cf9e2862a9017 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js +++ b/tests/baselines/reference/tsserver/resolutionCache/should-property-handle-missing-config-files.js @@ -221,7 +221,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js b/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js index e39c2e4b96724..e9d214a35226e 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js +++ b/tests/baselines/reference/tsserver/resolutionCache/types-should-load-from-config-file-path-if-config-exists.js @@ -133,7 +133,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js b/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js index ee6d0519ddeb9..cfaf9a4f666a9 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js +++ b/tests/baselines/reference/tsserver/resolutionCache/types-should-not-load-from-config-file-path-if-config-exists-but-does-not-specifies-typeRoots.js @@ -154,7 +154,7 @@ Info seq [hh:mm:ss:mss] event: ] }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js index d0d1b9d634eb1..2b100abc02fb5 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js @@ -133,7 +133,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' somefolder/module1.ts Matched by default include pattern '**/*' Imported via "somefolder/module1" from file 'somefolder/srcfile.ts' @@ -176,9 +176,9 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "amd", - "moduleResolution": "classic", - "target": "es5", + "module": "AMD", + "moduleResolution": "Classic", + "target": "ES5", "outDir": "", "baseUrl": "", "typeRoots": [ diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js index 9ac76c24ea6ac..dd1aedb155f65 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js @@ -137,7 +137,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' somefolder/module1.ts Matched by default include pattern '**/*' Imported via "somefolder/module1" from file 'somefolder/srcfile.ts' @@ -182,9 +182,9 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "amd", - "moduleResolution": "classic", - "target": "es5", + "module": "AMD", + "moduleResolution": "Classic", + "target": "ES5", "outDir": "", "baseUrl": "", "typeRoots": [ diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js index d12d8fbeed6da..4c0a576bcf447 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/somemodule/index.d.ts Imported via "somemodule" from file 'test.ts' test.ts diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js index 05f7b99e53fcf..ad8a1118f7bcd 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js @@ -56,7 +56,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/somemodule/index.d.ts Imported via "somemodule" from file 'test.ts' test.ts diff --git a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js index 03db295463ca0..8bb7e18ff187c 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js @@ -136,7 +136,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/users/username/projects/project/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -318,7 +318,7 @@ Info seq [hh:mm:ss:mss] event: "category": "error" }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js index 3814ca6caef51..53910f941e492 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-js-project-with-tscheck.js @@ -322,7 +322,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js index 57ad8531bfbbc..be829f72fb827 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/reports-semantic-error-in-configured-project-with-tscheck.js @@ -314,7 +314,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js b/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js index a26938e716e0d..b0e3aaf54c0e9 100644 --- a/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js +++ b/tests/baselines/reference/tsserver/skipLibCheck/should-not-report-bind-errors-for-declaration-files-with-skipLibCheck=true.js @@ -347,7 +347,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js b/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js index f6401d3aba923..0eafec3f118f4 100644 --- a/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js +++ b/tests/baselines/reference/tsserver/smartSelection/works-for-simple-JavaScript.js @@ -46,7 +46,7 @@ Info seq [hh:mm:ss:mss] Files (2) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js index fe02ca0fb927b..3c84aa9f8692d 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js @@ -106,7 +106,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -457,7 +457,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index 6553199a4fbc4..1ccbbe1f81c13 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -110,7 +110,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -412,7 +412,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js index f8d8ae040c15d..17a713e194a11 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js @@ -107,7 +107,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -393,7 +393,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -671,7 +671,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js index 7821d90ab5b44..27e16be17a02d 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js @@ -128,7 +128,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -512,7 +512,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index 7c2c2f898b2a1..70eb11c7add7d 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -456,7 +456,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js index 96975039f60b6..e399070360cca 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js @@ -122,7 +122,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts @@ -418,7 +418,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/datetime/baseDate.ts Matched by include pattern 'src' in 'tsconfig.json' @@ -715,7 +715,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../recognizers-text/dist/types/recognizers-text.d.ts Imported via "@microsoft/recognizers-text" from file 'src/datetime/baseDate.ts' src/datetime/baseDate.ts diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js index aa70b773a0970..109d1f4ac8dcc 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js @@ -232,7 +232,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/index.ts Matched by default include pattern '**/*' @@ -271,8 +271,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es2016", - "module": "commonjs", + "target": "ES2016", + "module": "CommonJS", "rootDir": "", "declaration": true, "outDir": "", @@ -644,7 +644,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' ../package1/dist/index.d.ts Imported via "package1" from file 'src/index.ts' with packageId 'package1/dist/index.d.ts@1.0.0' src/index.ts @@ -1041,7 +1041,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/index.ts Matched by default include pattern '**/*' @@ -1619,7 +1619,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' ../package1/dist/index.d.ts Imported via "package1" from file 'src/index.ts' with packageId 'package1/dist/index.d.ts@1.0.0' src/index.ts diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js index a9f20884ab1af..9b4e391f956ba 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js @@ -198,7 +198,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' ../package1/dist/index.d.ts Imported via "package1" from file 'src/index.ts' with packageId 'package1/dist/index.d.ts@1.0.0' src/index.ts @@ -239,8 +239,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es2016", - "module": "commonjs", + "target": "ES2016", + "module": "CommonJS", "rootDir": "", "declaration": true, "outDir": "", @@ -645,7 +645,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/index.ts Matched by default include pattern '**/*' @@ -1226,7 +1226,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' ../package1/dist/index.d.ts Imported via "package1" from file 'src/index.ts' with packageId 'package1/dist/index.d.ts@1.0.0' src/index.ts diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js index 307b63d2e24dc..d9fe55fdc2a44 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js @@ -198,7 +198,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' ../package1/dist/index.d.ts Imported via "package1" from file 'src/index.ts' with packageId 'package1/dist/index.d.ts@1.0.0' src/index.ts @@ -239,8 +239,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es2016", - "module": "commonjs", + "target": "ES2016", + "module": "CommonJS", "rootDir": "", "declaration": true, "outDir": "", @@ -601,7 +601,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/index.ts Matched by default include pattern '**/*' @@ -933,7 +933,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' ../package1/dist/index.d.ts Imported via "package1" from file 'src/index.ts' with packageId 'package1/dist/index.d.ts@1.0.0' src/index.ts diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js index 82e374ceb4e7f..9531e86c59291 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js @@ -232,7 +232,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/index.ts Matched by default include pattern '**/*' @@ -271,8 +271,8 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "target": "es2016", - "module": "commonjs", + "target": "ES2016", + "module": "CommonJS", "rootDir": "", "declaration": true, "outDir": "", @@ -595,7 +595,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' ../package1/dist/index.d.ts Imported via "package1" from file 'src/index.ts' with packageId 'package1/dist/index.d.ts@1.0.0' src/index.ts @@ -952,7 +952,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' src/index.ts Matched by default include pattern '**/*' @@ -1284,7 +1284,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../../a/lib/lib.es2016.full.d.ts - Default library for target 'es2016' + Default library for target 'ES2016' ../package1/dist/index.d.ts Imported via "package1" from file 'src/index.ts' with packageId 'package1/dist/index.d.ts@1.0.0' src/index.ts diff --git a/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js b/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js index d4983a4e6b9d2..135e0ddac4547 100644 --- a/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js +++ b/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js @@ -94,7 +94,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' c/fc.ts Imported via "./c/fc" from file 'a.ts' Matched by default include pattern '**/*' @@ -135,7 +135,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, @@ -276,7 +276,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' c/fc.ts Imported via "./c/fc" from file 'b.ts' Matched by default include pattern '**/*' @@ -317,7 +317,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs" + "module": "CommonJS" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js b/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js index 931095638b392..84d4d51a40df4 100644 --- a/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js +++ b/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js @@ -141,7 +141,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "commonjs", + "module": "CommonJS", "outDir": "", "rootDir": "", "baseUrl": "" @@ -173,7 +173,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/packages/app/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js index efc8c2a2ba8f6..f59ea76ea107f 100644 --- a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js +++ b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js @@ -68,7 +68,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' @@ -228,7 +228,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' unitTest1.ts @@ -573,7 +573,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' @@ -689,7 +689,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.ts Matched by default include pattern '**/*' unitTest1.ts diff --git a/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js b/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js index 924d821182043..8293c4370b399 100644 --- a/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js +++ b/tests/baselines/reference/tsserver/telemetry/counts-files-by-extension.js @@ -173,7 +173,7 @@ Info seq [hh:mm:ss:mss] event: "category": "error" }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js b/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js index 658e011f4c963..da3102015c3d4 100644 --- a/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js +++ b/tests/baselines/reference/tsserver/telemetry/detects-whether-language-service-was-disabled.js @@ -144,7 +144,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js b/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js index c6a621bb5d51c..ec8294ae29193 100644 --- a/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js +++ b/tests/baselines/reference/tsserver/telemetry/does-not-expose-paths.js @@ -181,8 +181,8 @@ Info seq [hh:mm:ss:mss] event: "paths": "", "declaration": true, "lib": [ - "es6", - "dom" + "ES2015", + "DOM" ] }, "typeAcquisition": { @@ -442,7 +442,7 @@ Info seq [hh:mm:ss:mss] event: "line": 34, "offset": 16 }, - "text": "Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'es2022', 'es2023', 'esnext', 'dom', 'dom.iterable', 'dom.asynciterable', 'webworker', 'webworker.importscripts', 'webworker.iterable', 'webworker.asynciterable', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2016.intl', 'es2017.date', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asyncgenerator', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.object', 'es2019.string', 'es2019.symbol', 'es2019.intl', 'es2020.bigint', 'es2020.date', 'es2020.promise', 'es2020.sharedmemory', 'es2020.string', 'es2020.symbol.wellknown', 'es2020.intl', 'es2020.number', 'es2021.promise', 'es2021.string', 'es2021.weakref', 'es2021.intl', 'es2022.array', 'es2022.error', 'es2022.intl', 'es2022.object', 'es2022.sharedmemory', 'es2022.string', 'es2022.regexp', 'es2023.array', 'es2023.collection', 'es2023.intl', 'esnext.array', 'esnext.collection', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.disposable', 'esnext.bigint', 'esnext.string', 'esnext.promise', 'esnext.weakref', 'esnext.decorators', 'esnext.object', 'esnext.regexp', 'decorators', 'decorators.legacy'.", + "text": "Argument for '--lib' option must be: 'ES5', 'ES2015', 'ES6', 'ES2016', 'ES7', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', 'ES2022', 'ES2023', 'ESNext', 'DOM', 'DOM.Iterable', 'DOM.AsyncIterable', 'WebWorker', 'WebWorker.ImportScripts', 'WebWorker.Iterable', 'WebWorker.AsyncIterable', 'ScriptHost', 'ES2015.Core', 'ES2015.Collection', 'ES2015.Generator', 'ES2015.Iterable', 'ES2015.Promise', 'ES2015.Proxy', 'ES2015.Reflect', 'ES2015.Symbol', 'ES2015.Symbol.WellKnown', 'ES2016.Array.Includes', 'ES2016.Array.Include', 'ES2016.Intl', 'ES2017.Date', 'ES2017.Object', 'ES2017.SharedMemory', 'ES2017.String', 'ES2017.Intl', 'ES2017.TypedArrays', 'ES2017.TypedArray', 'ES2018.AsyncGenerator', 'ES2018.AsyncIterable', 'ES2018.Intl', 'ES2018.Promise', 'ES2018.RegExp', 'ES2019.Array', 'ES2019.Object', 'ES2019.String', 'ES2019.Symbol', 'ES2019.Intl', 'ES2020.BigInt', 'ES2020.Date', 'ES2020.Promise', 'ES2020.SharedMemory', 'ES2020.String', 'ES2020.Symbol.WellKnown', 'ES2020.Intl', 'ES2020.Number', 'ES2021.Promise', 'ES2021.String', 'ES2021.WeakRef', 'ES2021.Intl', 'ES2022.Array', 'ES2022.Error', 'ES2022.Intl', 'ES2022.Object', 'ES2022.SharedMemory', 'ES2022.String', 'ES2022.RegExp', 'ES2023.Array', 'ES2023.Collection', 'ES2023.Intl', 'ESNext.Array', 'ESNext.Collection', 'ESNext.Symbol', 'ESNext.AsyncIterable', 'ESNext.Intl', 'ESNext.Disposable', 'ESNext.BigInt', 'ESNext.String', 'ESNext.Promise', 'ESNext.WeakRef', 'ESNext.Decorators', 'ESNext.Object', 'ESNext.RegExp', 'Decorators', 'Decorators.Legacy'.", "code": 6046, "category": "error", "fileName": "/tsconfig.json" diff --git a/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js b/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js index aafbee54ab0b9..25d319c399b80 100644 --- a/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js +++ b/tests/baselines/reference/tsserver/telemetry/even-for-project-with-ts-check-in-config.js @@ -324,7 +324,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js b/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js index 7e2da4890f919..28be416386c2c 100644 --- a/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js +++ b/tests/baselines/reference/tsserver/telemetry/only-sends-an-event-once.js @@ -115,7 +115,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -399,7 +399,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js index 1a79790ddf02c..ae40c154a2597 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-extends,-files,-include,-exclude,-and-compileOnSave.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/tsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js index 99bdaeb967437..8a1e15a4527fd 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-file-sizes.js @@ -340,7 +340,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js index a07bcd9da2de6..ece6604e99c2b 100644 --- a/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js +++ b/tests/baselines/reference/tsserver/telemetry/sends-telemetry-for-typeAcquisition-settings.js @@ -340,7 +340,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/tsserver/configDir-template.js b/tests/baselines/reference/tsserver/tsserver/configDir-template.js index ace5db526f7e9..2785cc679bb96 100644 --- a/tests/baselines/reference/tsserver/tsserver/configDir-template.js +++ b/tests/baselines/reference/tsserver/tsserver/configDir-template.js @@ -269,7 +269,7 @@ Info seq [hh:mm:ss:mss] Files (5) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' types/sometype.ts Imported via "@myscope/sometype" from file 'main.ts' main.ts diff --git a/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js b/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js index 65b81a92375a7..6408f736fac61 100644 --- a/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js @@ -96,7 +96,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' index.ts Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js index 97216d7bd6e27..2f7e5d4e6d211 100644 --- a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js +++ b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js @@ -295,7 +295,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/b/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js index d1f4fb0c9616b..47a4ae412d2f6 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/exportDefault-typeOnlyImportDefault-exportDefault-importDefault.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Files (4) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Imported via './a' from file 'b.ts' b.ts diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js index 9bae3436e3106..d661626684680 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-exportNamespaceFrom-typeOnlyNamedImport-namedExport-namedImport.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Files (5) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Imported via './a' from file 'b.ts' b.ts diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js index f474fa7ab7ed0..7e58ce8afd660 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyExportFrom-exportStarFrom-namedImport.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Files (5) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Imported via './a' from file 'b.ts' b.ts diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js index ac2a042ffd32b..cec75962acfe9 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamedImport-namedExport-namedImport.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Files (4) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Imported via './a' from file 'b.ts' b.ts diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js index aa14b834e1ec2..dd0cfce0c6d68 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportDefault-importDefault.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Files (4) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Imported via './a' from file 'b.ts' b.ts diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js index 7748609bfd98a..28bf3178f68f5 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-exportEquals-importEquals.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Files (4) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Imported via './a' from file 'b.ts' b.ts diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js index c1daeeb4abf02..60d7dbfdc723b 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeOnlyNamespaceImport-namedExport-namedImport.js @@ -48,7 +48,7 @@ Info seq [hh:mm:ss:mss] Files (4) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Imported via './a' from file 'b.ts' b.ts diff --git a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js index 5e8c38775ce69..a2f945c89fedc 100644 --- a/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js +++ b/tests/baselines/reference/tsserver/typeOnlyImportChains/namedExport-typeonlyExportFrom-exportNamespaceFrom-namedImport.js @@ -53,7 +53,7 @@ Info seq [hh:mm:ss:mss] Files (5) a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Imported via './a' from file 'b.ts' b.ts diff --git a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js index c2873a5e4b24c..0672ee2fbc0e6 100644 --- a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js +++ b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js @@ -161,7 +161,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' test.ts Matched by default include pattern '**/*' ../lib/@types/UpperCasePackage/index.d.ts @@ -204,7 +204,7 @@ Info seq [hh:mm:ss:mss] event: "deferredSize": 0 }, "compilerOptions": { - "module": "amd", + "module": "AMD", "typeRoots": [ "", "" diff --git a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js index ced256c56f909..50612cb2ca302 100644 --- a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js +++ b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-is-relative-path-and-in-a-sibling-folder.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' a.ts Matched by default include pattern '**/*' ../typedefs/filesystem.d.ts diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js index 432274a1f9d04..6a2f5f3531acc 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects-discover-from-bower_components.js @@ -308,7 +308,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js index cc05b3b494e56..2aeb374dfa96b 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/configured-projects.js @@ -290,7 +290,7 @@ Info seq [hh:mm:ss:mss] event: "category": "error" }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js index d49076cf04ddf..1aac683cce56f 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-bower.js @@ -309,7 +309,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js index f4c84f7f61ee7..e1d913fc45ec4 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types-has-import.js @@ -357,7 +357,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js index a8d7d64110ba7..8b1ecf34aafa1 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-empty-types.js @@ -383,7 +383,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js index 120360fa1e4b7..bb8ebded0ca76 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules-explicit-types.js @@ -418,7 +418,7 @@ Info seq [hh:mm:ss:mss] event: ] }, { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js index ce67a4fadcec5..2e542b71d13e3 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/discover-from-node_modules.js @@ -369,7 +369,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js index 6af2cd2a10c79..2f76e0b0587d4 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-enable-false.js @@ -64,7 +64,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js index 0d29222310d8a..4b51b46e480af 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition-with-js-ts-files.js @@ -72,7 +72,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": false, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js index 0c88650feb654..be8ee48b6d390 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-no-type-acquisition.js @@ -254,7 +254,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js index c3bae79438223..78248f2a04914 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition-with-disableFilenameBasedTypeAcquisition.js @@ -216,7 +216,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js index 6c0adc099266b..872249c0b304d 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/external-projects-type-acquisition.js @@ -297,7 +297,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js b/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js index 67d00e60c49d0..57df7d55906d9 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/local-module-should-not-be-picked-up.js @@ -302,7 +302,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/a/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, @@ -355,7 +355,7 @@ Info seq [hh:mm:ss:mss] event: "line": 3, "offset": 35 }, - "text": "Argument for '--moduleResolution' option must be: 'node10', 'classic', 'node16', 'nodenext', 'bundler'.", + "text": "Argument for '--moduleResolution' option must be: 'Node10', 'Classic', 'Node16', 'NodeNext', 'Bundler'.", "code": 6046, "category": "error", "fileName": "/a/jsconfig.json" diff --git a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js index c7f01899c0a2a..50c9100860490 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/multiple-projects.js @@ -104,7 +104,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.js Matched by default include pattern '**/*' @@ -482,7 +482,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.js Matched by default include pattern '**/*' ../../../../a/data/node_modules/@types/jquery/index.d.ts @@ -742,7 +742,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.js Matched by default include pattern '**/*' @@ -898,7 +898,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.js Matched by default include pattern '**/*' ../../../../a/data/node_modules/@types/jquery/index.d.ts diff --git a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js index 599c2c23a26d2..6faa6c98e3793 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/scoped-name-discovery.js @@ -364,7 +364,7 @@ Info seq [hh:mm:ss:mss] event: "configFile": "/jsconfig.json", "diagnostics": [ { - "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'es5'", + "text": "File '/a/lib/lib.d.ts' not found.\n The file is in the program because:\n Default library for target 'ES5'", "code": 6053, "category": "error" }, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js index d5c59bbc287bc..b40b8b6a12739 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/should-handle-node-core-modules.js @@ -41,7 +41,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' app.js Root file specified for compilation @@ -334,7 +334,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../tmp/node_modules/node/index.d.ts Imported via "net" from file 'app.js' Imported via "stream" from file 'app.js' @@ -517,7 +517,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../../tmp/node_modules/node/index.d.ts Imported via "net" from file 'app.js' app.js diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js index a5e0f1b2bf3f8..599658a8c9e6e 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-run-install-requests.js @@ -300,7 +300,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, @@ -488,7 +488,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js index cefd50442d0d6..1048d8ba52478 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-delayed-typings-to-install.js @@ -303,7 +303,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js index 71bbe0039cf12..f7dd93dda9f29 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-refreshed.js @@ -125,7 +125,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, @@ -262,7 +262,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js index 999377eb3c1a8..29d2cc459c386 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer-while-queuing-again.js @@ -123,7 +123,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, @@ -260,7 +260,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, @@ -398,7 +398,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js index 148b128fd0b33..c2c92b63ea0c3 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-with-defer.js @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, @@ -268,7 +268,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, diff --git a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js index 8504c4f2258fe..a33f571b8aaa8 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/throttle-scheduled-run-install-requests-without-reaching-limit.js @@ -131,7 +131,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, @@ -696,7 +696,7 @@ Info seq [hh:mm:ss:mss] event: }, "compilerOptions": { "allowJS": true, - "moduleResolution": "node10" + "moduleResolution": "Node10" }, "typeAcquisition": { "enable": true, diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js index 224c41a30ec48..c92fd5d552bcb 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js @@ -77,7 +77,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js index edec9cd7880a5..ceb5e84f96741 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js @@ -104,7 +104,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js index e8d5952b5c06a..71987466e1ed4 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js index d64cdce034838..3120f6b7474e9 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-at-root.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js index d64cdce034838..3120f6b7474e9 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-at-windows-style-root.js @@ -71,7 +71,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js index 249d5d8744b67..967ff4ca82362 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-root.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js index 249d5d8744b67..967ff4ca82362 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/files-not-at-windows-style-root.js @@ -75,7 +75,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' file1.ts Matched by default include pattern '**/*' file2.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js index b114c7138d777..d42910d9ea757 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js @@ -89,7 +89,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js index 0cc736b8ae065..6176bd421069c 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js @@ -116,7 +116,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js index 0133438484cb9..bcb314eb12b41 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js @@ -87,7 +87,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js b/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js index 48daea46f04be..01f19c8c5bc3d 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js @@ -74,7 +74,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' foo.ts Matched by default include pattern '**/*' @@ -220,7 +220,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' foo.ts Matched by default include pattern '**/*' Bar.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js index 5adfeb71bf684..30d63a0d2c5f6 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' foo.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js index c41f48f22369c..a248cd862fe50 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' foo.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js index 0102a6160b212..119cc14351e5b 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js @@ -51,7 +51,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' foo.ts Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js b/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js index 0ba841ccd0119..662bc4880d467 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js @@ -80,7 +80,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' src/index.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js index 1278e96e041c3..831fb7e5cd512 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -288,7 +288,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' src/index.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js index 3425443d854a1..2f7bfb42e1714 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -276,7 +276,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' src/index.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js index 9fd4883a5f8ed..7c3d456415ffd 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js @@ -84,7 +84,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' src/index.ts @@ -277,7 +277,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' src/file1.ts Matched by default include pattern '**/*' src/index.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js index 2565fde0eb9b8..1bacd3decd7bf 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js @@ -45,7 +45,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' x.js Root file specified for compilation @@ -272,7 +272,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' x.js Root file specified for compilation @@ -487,7 +487,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' x.js Root file specified for compilation @@ -720,7 +720,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' x.js Root file specified for compilation @@ -953,7 +953,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' x.js Root file specified for compilation diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js index 244fdb7d417b9..ebbb873d80202 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js @@ -83,7 +83,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../node_modules/@types/random-seed/index.d.ts Imported via "random-seed" from file 'main.ts' Entry point for implicit type library 'random-seed' @@ -438,7 +438,7 @@ Info seq [hh:mm:ss:mss] Files (2) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' main.ts Matched by default include pattern '**/*' @@ -718,7 +718,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' ../node_modules/@types/random-seed/index.d.ts Imported via "random-seed" from file 'main.ts' Entry point for implicit type library 'random-seed' diff --git a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js index aa0855ba650b5..3cf1462eb9065 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js @@ -82,7 +82,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' tsconfig.json Imported via "./tsconfig.json" from file 'index.ts' index.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js index 2eac39b221963..a0b64514fe56e 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js @@ -100,7 +100,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js index 02f94c0958a6d..72c95b06c0859 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js @@ -129,7 +129,7 @@ Info seq [hh:mm:ss:mss] Files (4) ../../../../a/lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' node_modules/bar/foo.d.ts Imported via "./foo" from file 'node_modules/bar/index.d.ts' node_modules/bar/index.d.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js index 26c1ec9dd2f05..d12f1fa1dd192 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-as-host-configuration.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js index c256e7b65f111..a7879dbac9bc3 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-fallbackPolling-option-in-configFile.js @@ -105,7 +105,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js index 795b82b4e515d..0d118a200fef3 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-as-host-configuration.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js index ebbc2ebb99b95..55115d2210e29 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchDirectory-option-in-configFile.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js index 4f50f528e6e1f..af29c74201845 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-as-host-configuration.js @@ -98,7 +98,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js index fd30407364cf0..da3952190e9ec 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-watchFile-option-in-configFile.js @@ -79,7 +79,7 @@ Info seq [hh:mm:ss:mss] Files (3) ../lib/lib.d.ts - Default library for target 'es5' + Default library for target 'ES5' commonFile1.ts Matched by default include pattern '**/*' commonFile2.ts diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions01(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions01(target=es5).errors.txt index ab854267f49de..7cbe6bc6c8527 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions01(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions01(target=es5).errors.txt @@ -1,8 +1,8 @@ -unicodeExtendedEscapesInRegularExpressions01.ts(1,17): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions01.ts(1,17): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions01.ts (1 errors) ==== var x = /\u{0}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions02(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions02(target=es5).errors.txt index 7c8275c32bc78..b5fd95a3d3587 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions02(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions02(target=es5).errors.txt @@ -1,8 +1,8 @@ -unicodeExtendedEscapesInRegularExpressions02.ts(1,18): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions02.ts(1,18): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions02.ts (1 errors) ==== var x = /\u{00}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions03(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions03(target=es5).errors.txt index 21b3b2e4daea7..260895c521699 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions03(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions03(target=es5).errors.txt @@ -1,8 +1,8 @@ -unicodeExtendedEscapesInRegularExpressions03.ts(1,20): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions03.ts(1,20): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions03.ts (1 errors) ==== var x = /\u{0000}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions04(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions04(target=es5).errors.txt index 9282d070a9742..be6d8c305bc50 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions04(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions04(target=es5).errors.txt @@ -1,8 +1,8 @@ -unicodeExtendedEscapesInRegularExpressions04.ts(1,24): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions04.ts(1,24): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions04.ts (1 errors) ==== var x = /\u{00000000}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions05(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions05(target=es5).errors.txt index 42b296e64af31..3735662d5258d 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions05(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions05(target=es5).errors.txt @@ -1,8 +1,8 @@ -unicodeExtendedEscapesInRegularExpressions05.ts(1,78): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions05.ts(1,78): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions05.ts (1 errors) ==== var x = /\u{48}\u{65}\u{6c}\u{6c}\u{6f}\u{20}\u{77}\u{6f}\u{72}\u{6c}\u{64}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions06(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions06(target=es5).errors.txt index 1c254e3b6b053..f18016554f423 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions06(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions06(target=es5).errors.txt @@ -1,4 +1,4 @@ -unicodeExtendedEscapesInRegularExpressions06.ts(3,22): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions06.ts(3,22): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions06.ts (1 errors) ==== @@ -6,5 +6,5 @@ unicodeExtendedEscapesInRegularExpressions06.ts(3,22): error TS1501: This regula // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. var x = /\u{10FFFF}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions07(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions07(target=es5).errors.txt index 1234f30a12e2c..d08aab183a0a1 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions07(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions07(target=es5).errors.txt @@ -1,5 +1,5 @@ unicodeExtendedEscapesInRegularExpressions07.ts(3,13): error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. -unicodeExtendedEscapesInRegularExpressions07.ts(3,22): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions07.ts(3,22): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions07.ts (2 errors) ==== @@ -9,5 +9,5 @@ unicodeExtendedEscapesInRegularExpressions07.ts(3,22): error TS1501: This regula ~~~~~~ !!! error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions08(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions08(target=es5).errors.txt index a3b5b30aac479..172756f2dce9e 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions08(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions08(target=es5).errors.txt @@ -1,4 +1,4 @@ -unicodeExtendedEscapesInRegularExpressions08.ts(4,20): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions08.ts(4,20): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions08.ts (1 errors) ==== @@ -7,5 +7,5 @@ unicodeExtendedEscapesInRegularExpressions08.ts(4,20): error TS1501: This regula // (FFFF == 65535) var x = /\u{FFFF}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions09(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions09(target=es5).errors.txt index 95d5dd12e3b24..2e6f30c5f509d 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions09(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions09(target=es5).errors.txt @@ -1,4 +1,4 @@ -unicodeExtendedEscapesInRegularExpressions09.ts(4,21): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions09.ts(4,21): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions09.ts (1 errors) ==== @@ -7,5 +7,5 @@ unicodeExtendedEscapesInRegularExpressions09.ts(4,21): error TS1501: This regula // (10000 == 65536) var x = /\u{10000}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions10(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions10(target=es5).errors.txt index a3e4686d217e2..5f082393dff78 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions10(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions10(target=es5).errors.txt @@ -1,4 +1,4 @@ -unicodeExtendedEscapesInRegularExpressions10.ts(5,20): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions10.ts(5,20): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions10.ts (1 errors) ==== @@ -8,5 +8,5 @@ unicodeExtendedEscapesInRegularExpressions10.ts(5,20): error TS1501: This regula // this is a useful edge-case test. var x = /\u{D800}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions11(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions11(target=es5).errors.txt index 4f04207f550cc..198a795425594 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions11(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions11(target=es5).errors.txt @@ -1,4 +1,4 @@ -unicodeExtendedEscapesInRegularExpressions11.ts(5,20): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions11.ts(5,20): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions11.ts (1 errors) ==== @@ -8,5 +8,5 @@ unicodeExtendedEscapesInRegularExpressions11.ts(5,20): error TS1501: This regula // this is a useful edge-case test. var x = /\u{DC00}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions12(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions12(target=es5).errors.txt index 01a2ed15ccb52..83f547fc40238 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions12(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions12(target=es5).errors.txt @@ -1,5 +1,5 @@ unicodeExtendedEscapesInRegularExpressions12.ts(1,13): error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. -unicodeExtendedEscapesInRegularExpressions12.ts(1,24): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions12.ts(1,24): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions12.ts (2 errors) ==== @@ -7,5 +7,5 @@ unicodeExtendedEscapesInRegularExpressions12.ts(1,24): error TS1501: This regula ~~~~~~~~ !!! error TS1198: An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions13(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions13(target=es5).errors.txt index f307764d37902..48ce2ad7697f0 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions13(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions13(target=es5).errors.txt @@ -1,8 +1,8 @@ -unicodeExtendedEscapesInRegularExpressions13.ts(1,21): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions13.ts(1,21): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions13.ts (1 errors) ==== var x = /\u{DDDDD}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions14(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions14(target=es5).errors.txt index 9a108e96403cb..c82261f8177e2 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions14(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions14(target=es5).errors.txt @@ -1,6 +1,6 @@ unicodeExtendedEscapesInRegularExpressions14.ts(2,13): error TS1125: Hexadecimal digit expected. unicodeExtendedEscapesInRegularExpressions14.ts(2,18): error TS1508: Unexpected '}'. Did you mean to escape it with backslash? -unicodeExtendedEscapesInRegularExpressions14.ts(2,21): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions14.ts(2,21): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions14.ts (3 errors) ==== @@ -11,5 +11,5 @@ unicodeExtendedEscapesInRegularExpressions14.ts(2,21): error TS1501: This regula ~ !!! error TS1508: Unexpected '}'. Did you mean to escape it with backslash? ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions15(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions15(target=es5).errors.txt index 10f023bfa0f5e..163c7ad3acaea 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions15(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions15(target=es5).errors.txt @@ -1,8 +1,8 @@ -unicodeExtendedEscapesInRegularExpressions15.ts(1,44): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions15.ts(1,44): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions15.ts (1 errors) ==== var x = /\u{abcd}\u{ef12}\u{3456}\u{7890}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions16(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions16(target=es5).errors.txt index 736b8082149e6..b71a8df9f5c1b 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions16(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions16(target=es5).errors.txt @@ -1,8 +1,8 @@ -unicodeExtendedEscapesInRegularExpressions16.ts(1,44): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions16.ts(1,44): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions16.ts (1 errors) ==== var x = /\u{ABCD}\u{EF12}\u{3456}\u{7890}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions17(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions17(target=es5).errors.txt index d2eca7a5a4ace..7804bf54a3ec3 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions17(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions17(target=es5).errors.txt @@ -4,7 +4,7 @@ unicodeExtendedEscapesInRegularExpressions17.ts(1,18): error TS1125: Hexadecimal unicodeExtendedEscapesInRegularExpressions17.ts(1,19): error TS1508: Unexpected '}'. Did you mean to escape it with backslash? unicodeExtendedEscapesInRegularExpressions17.ts(1,23): error TS1125: Hexadecimal digit expected. unicodeExtendedEscapesInRegularExpressions17.ts(1,24): error TS1508: Unexpected '}'. Did you mean to escape it with backslash? -unicodeExtendedEscapesInRegularExpressions17.ts(1,27): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions17.ts(1,27): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions17.ts (7 errors) ==== @@ -22,5 +22,5 @@ unicodeExtendedEscapesInRegularExpressions17.ts(1,27): error TS1501: This regula ~ !!! error TS1508: Unexpected '}'. Did you mean to escape it with backslash? ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions18(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions18(target=es5).errors.txt index d3c12b909f223..62be405338bf0 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions18(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions18(target=es5).errors.txt @@ -1,8 +1,8 @@ -unicodeExtendedEscapesInRegularExpressions18.ts(1,24): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions18.ts(1,24): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions18.ts (1 errors) ==== var x = /\u{65}\u{65}/gu; ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file diff --git a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions19(target=es5).errors.txt b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions19(target=es5).errors.txt index d1507998bd49f..2959bd364fa97 100644 --- a/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions19(target=es5).errors.txt +++ b/tests/baselines/reference/unicodeExtendedEscapesInRegularExpressions19(target=es5).errors.txt @@ -1,5 +1,5 @@ unicodeExtendedEscapesInRegularExpressions19.ts(1,13): error TS1125: Hexadecimal digit expected. -unicodeExtendedEscapesInRegularExpressions19.ts(1,16): error TS1501: This regular expression flag is only available when targeting 'es6' or later. +unicodeExtendedEscapesInRegularExpressions19.ts(1,16): error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. ==== unicodeExtendedEscapesInRegularExpressions19.ts (2 errors) ==== @@ -7,5 +7,5 @@ unicodeExtendedEscapesInRegularExpressions19.ts(1,16): error TS1501: This regula !!! error TS1125: Hexadecimal digit expected. ~ -!!! error TS1501: This regular expression flag is only available when targeting 'es6' or later. +!!! error TS1501: This regular expression flag is only available when targeting 'ES2015' or later. \ No newline at end of file